Number inputs
It renders a number input for the user. The type is number, so the value will be a number. It can have the same properties as the text input. The value will be a number.
{
"component": "text",
"type": "number",
"label": "Age",
"placeholder": "Enter your age",
"inline": "true"
}
{
"component": "text",
"type": "number",
"label": "From 1 to 2",
"inline": "true"
"step": 0.1
}
We can define a step to define the increment value of the input