disableWhenInvalid property

bool disableWhenInvalid
final

Whether validation errors should disable the button.

Defaults to false so FormValidationMode.onSubmit forms do not get stuck after validation errors are shown. Invalid submission is still blocked by BlocxFormBloc.isFormSubmittable.

Implementation

final bool disableWhenInvalid;