Define field of type number | "" (empty string is needed to represent state of empty number inputs) Default initial value will be "". Accepts finite numbers, strings representing finite numbers and valid Date instances
number | ""
""
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.number() // x: number | "" }) .build() Copy
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.number() // x: number | "" }) .build()
Generated using TypeDoc
Define field of type
number | ""
(empty string is needed to represent state of empty number inputs) Default initial value will be""
. Accepts finite numbers, strings representing finite numbers and valid Date instances