flutter-form-builder-ecosystem / form_builder_validators

Form Builder Validators is set of validators for FormFields. It provides common validators and a way to reuse multiple validators
https://pub.dev/packages/form_builder_validators
BSD 3-Clause "New" or "Revised" License
47 stars 97 forks source link

global checkNullOrEmpty #119

Open windmillcode0 opened 1 month ago

windmillcode0 commented 1 month ago

Is there an existing issue for this?

Package/Plugin version

11.0.0

What you'd like to happen

All validators now first check for null or empty value and return an error if so. You can set checkNullOrEmpty to false if you want to avoid this behavior.-

for all these changes instead of updating every part of my code can we have a global scope so we can make the change in one place ?

Alternatives you've considered

N/A

Aditional information

N/A

deandreamatias commented 1 month ago

Related with #117