• 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.

    Returns FieldDecoder<null | Date>

    Example

    const Schema = new FormSchemaBuilder()
    .fields({
    x: FormFields.date() // x: Date | null
    })
    .build()

Generated using TypeDoc