ReadonlyadapterOptional adapter that transforms text → value and provides icons.
ReadonlyariaAccessible label forwarded to the native element as aria-label.
Required when no visible <label> is associated with the control.
ReadonlydisabledWhether the control is disabled.
ReadonlyerrorsValidation error messages from the adapter.
Empty when valid or when no adapter is set.
ReadonlyhasWhether the current adapter supports a popup panel.
ReadonlyheightWhether the multiline textarea can be vertically resized by the
user via a drag handle. Only applies when multiline is
true. Defaults to true.
ReadonlyisWhether the popup panel is currently open.
ReadonlymultilineWhen true, renders a <textarea> instead of an <input>.
ReadonlyplaceholderPlaceholder text.
ReadonlyrowsNumber of visible text rows (only applies when multiline
is true). Defaults to 3.
ReadonlytextRaw text displayed in the native element (two-way bindable).
This is the authoritative model — it always holds the literal string shown in the control.
ReadonlytypeNative input type (ignored when multiline is true).
ReadonlyvalidWhether the current text is valid according to the adapter.
Always true when no adapter is set or the adapter does not
implement validate.
ReadonlyvalidationValidation result from the adapter's validate() method.
Returns { valid: true, errors: [] } when no adapter is set or the
adapter does not implement validate.
Readonlyvalue
Thin wrapper around a native
<input>or<textarea>element.Supports two-way binding via both text (
[(text)]) and value ([(value)]).textis the authoritative model — it holds the literal string displayed in the native element.valueis a derived model — it holds whatever the adapter makes of the text (or a plain copy when no adapter is set).Consumers that only use
[(value)](the pre-adapter API) continue to work without changes: when no adapter is set,textandvalueare kept in sync bidirectionally.Set multiline to
trueto render a<textarea>instead.Example