A Number Input Component is a form field specifically designed to capture numeric values. It enforces numeric input and supports basic validation rules such as required, minimum, and maximum values.
The Number Input Component allows users to enter only numeric values in a form. Key features include:
min, max, and pattern.Complete JSON Object
{
"key": "InputKey",
"type": "number",
"props": {
"label": "Input Name",
"required": true,
"placeholder": "Input Placeholder"
},
"validation": {
"messages": {
"required": "Error message for required"
}
}
}
Allowed Custom Properties
Allowed Validations