Define field of type boolean. Default initial value will be false. Accepts boolean values and string "true" | "false".
boolean
false
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.bool() // x: boolean }) .build() Copy
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.bool() // x: boolean }) .build()
Generated using TypeDoc
Define field of type
boolean
. Default initial value will befalse
. Accepts boolean values and string "true" | "false".