• 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

    Returns FieldDecoder<number | "">

    Example

    const Schema = new FormSchemaBuilder()
    .fields({
    x: FormFields.number() // x: number | ""
    })
    .build()

Generated using TypeDoc