interface TextFieldHandle No documentation.
Properties
value
readonly value: WritableComputedRef<string>; What the input shows: the draft while one exists, otherwise the member's value in the View's state. Setting it is an input by the user, as v-model does; v-model also writes nothing during IME composition.
editing
readonly editing: Readonly<Ref<boolean>>; True while a draft exists, from the first input until the last write settled and the state caught up, and after a failed write. Keep the input enabled while it is true, rather than disabling it on the View's busy state, which the field's own write causes.
error
readonly error: Readonly<Ref<unknown>>; Why the latest write failed, until the next input or reset().
Methods
reset
reset(): void; Drops the draft and the error and shows the View's value. Writes in flight still complete.