Skip to content

ScrubInputField

ScrubInputField renders the editable input element for ScrubInputRoot.

It only renders while the scrub input is in editing mode.

Usage

Use it inside a ScrubInputRoot subtree.

Props and attrs

$attrsinput attributes
Passed through to the rendered input element.

Example

vue
<ScrubInputRoot v-model:model-value="value">
  <ScrubInputField class="w-16" />
</ScrubInputRoot>

Released under the MIT License.