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
52 stars 99 forks source link

localization not working after upgrade 3.18 #64

Closed ddif closed 11 months ago

ddif commented 1 year ago

Is there an existing issue for this?

Package/Plugin version

9.1.0

Platforms

Flutter doctor

Flutter doctor ```bash ```

Minimal code example

Code sample ```dart ```

Current Behavior

After installing Flutter version 3.18, default error messages started to appear in English whatever localization you have choosen. There was no such problem in previous versions.

Expected Behavior

to fix that. issue

Steps To Reproduce

in emulator and live version.

Aditional information

No response

korosiadam99 commented 1 year ago

If you use custom localization for your application, just add FormBuilderLocalizations.delegate to your delegates.

localizationsDelegates: const [ FormBuilderLocalizations.delegate, AppLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ],

deandreamatias commented 1 year ago

Please @ddif fill all sections of issue to more information and can reproduce the error. Thanks

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 7 days with no activity.