Define field holding an instance of JS Date or null Will check that value is a valid date at runtime. Default initial value will be null Accepts valid Date instances and strings or numbers that create valid Date when passed into Date constructor.
null
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.date() // x: Date | null }) .build() Copy
const Schema = new FormSchemaBuilder() .fields({ x: FormFields.date() // x: Date | null }) .build()
Generated using TypeDoc
Define field holding an instance of JS Date or
null
Will check that value is a valid date at runtime. Default initial value will benull
Accepts valid Date instances and strings or numbers that create valid Date when passed into Date constructor.