Skip to content

@jsvision/ui / InputOptions

Interface: InputOptions

Defined in: ui/src/controls/input.ts:33

Options for Input.

Properties

maxLength?

optional maxLength?: number

Defined in: ui/src/controls/input.ts:37

Maximum stored length. Default: unbounded.


validator?

optional validator?: Validator

Defined in: ui/src/controls/input.ts:39

A rule that filters keystrokes live and validates the completed value on focus-leave.


value

value: Signal<string>

Defined in: ui/src/controls/input.ts:35

The two-way bound text. Reading it renders the field; editing writes back. Required.