Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 987 Bytes

number.md

File metadata and controls

27 lines (23 loc) · 987 Bytes

Number field deprecated

This is an input field for numeric values.

Please note! This field type is deprecated. Please use the common input field type!

Special properties of field

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

Usage

{
	type: "number",
	label: "Age",
	model: "age",
	min: 18,
	max: 100,
	placeholder: "Age of user",
	validator: validators.number
}