The InputText component is a text input field.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
name | string | Identifier for the input in form submission. |
label | string | Label text for the input field. |
options | Array | Available text options. |
align | string | Text alignment (left, center, right). |
prefix | string | Prefix text displayed before the input value. |
postfix | string | Postfix text displayed after the input value. |
minLength | number | Minimum input length. |
maxLength | number | Maximum input length. |
funcDelete | function | Function to handle deletion of selected value. |
register | function | Function to register the input with the useForm hook. |
uppercase | boolean | Forces text to be uppercase. |
multiple | boolean | Allows multiple values selection. |
required | boolean | Specifies if the field is required. |
focused | boolean | Whether the input should be focused on mount. |
autoComplete | boolean | Enables or disables autocomplete (on, off). |
disabled | boolean | Disables interaction with the input field. |