This is an input field for numeric values.
Please note! This field type is deprecated. Please use the common input
field type!
Property | Default | Accepted values | Description |
---|---|---|---|
autocomplete |
none | see doc | Indicates whether the value of the control can be automatically completed by the browser. |
max |
none | Number |
Max value (need to use validators.number ) |
min |
none | Number |
Min value (need to use validators.number ) |
placeholder |
none | String |
Placeholder text for input field |
readonly |
false |
Boolean |
If true, the input field is read only |
{
type: "number",
label: "Age",
model: "age",
min: 18,
max: 100,
placeholder: "Age of user",
validator: validators.number
}