clear_input
Clears input or contenteditable elements using native setters that controlled components recognize, solving compatibility with React, Vue, and Angular state management.
Instructions
Clear an input or contenteditable element via the native setter.
Uses the same technique React's synthetic-event system expects so
controlled components actually see the change. Previously we called
``document.execCommand`` which is deprecated and invisible to
React/Vue/Angular state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |