Maintained reference:
inputis the up-to-date version of this topic. This page keeps older notes and examples.
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
See the props table in the maintained input reference.
Allowed Validations