Type Alias UFFormControllerOptions

UFFormControllerOptions: {
    assignAlways: boolean;
    autoUpdate: boolean;
    onChange: null | () => void;
    updateAll: boolean;
}

Type declaration

  • assignAlways: boolean

    True: assign value from field to data property even if it is not valid; false: only assign valid values (default = false)

  • autoUpdate: boolean

    True: turn on auto update after first call to validate to keep updating visuals with every change to a field; false: only update visual state with a call to validate. (default = true)

  • onChange: null | () => void

    This callback is called when visual state might have changed. (default = null)

  • updateAll: boolean

    True: update all fields whenever a value changes; false=don't update all (default = false)