Define field of type string. Default initial value will be "". Accepts strings, numbers, booleans and valid Date instances (which are serialized using toISOString method).
string
""
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.string() // x: string }) .build() Copy
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.string() // x: string }) .build()
Generated using TypeDoc
Define field of type
string
. Default initial value will be""
. Accepts strings, numbers, booleans and valid Date instances (which are serialized using toISOString method).