Represents options for a text input.
The TextInputOptions interface provides a set of properties that control the
behavior and appearance of a text input. These options include settings for the
input label, input label position, value, value setter, disabled state, placeholder,
suffix, and requireConfirm.
Extends#
InputOptions<string>
Properties#
| Property | Type | Default value | Description | Inherited from |
|---|---|---|---|---|
inputLabel? |
string |
string[] |
undefined |
- |
inputLabelPosition? |
"left" |
"top" |
undefined |
- |
value |
string |
undefined |
- | InputOptions.value |
setValue |
(value) => void |
undefined |
- | InputOptions.setValue |
isDisabled? |
boolean |
undefined |
- | InputOptions.isDisabled |
suffix? |
Suffix |
undefined |
- | InputOptions.suffix |
requireConfirm? |
boolean |
true |
Whether to require explicit confirmation (Enter/Escape/blur) before applying changes. When true, changes are only applied when user presses Enter/ESC or blurs the input. When false, changes are applied immediately on every keystroke. | - |