The InputNumber component is a custom numeric input.
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 | List of suggested values for the input. |
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. |
toString | boolean | Converts the value to a string. |
funcDelete | function | Function to handle deletion of selected value. |
register | function | Function to register the input with the useForm hook. |
required | boolean | Specifies if the field is required. |
minValue | number | Minimum allowed value. |
maxValue | number | Maximum allowed value. |
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. |