You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -53,8 +53,10 @@ Available built-in validators include:
53
53
-`FormBuilderValidators.match()` - requires the field's value to match the provided regex pattern.
54
54
-`FormBuilderValidators.max()` - requires the field's value to be less than or equal to the provided number.
55
55
-`FormBuilderValidators.maxLength()` - requires the length of the field's value to be less than or equal to the provided maximum length.
56
+
-`FormBuilderValidators.maxWordsCount()` - requires the words count of the field's value to be less than or equal to the provided maximum count.
56
57
-`FormBuilderValidators.min()` - requires the field's value to be greater than or equal to the provided number.
57
58
-`FormBuilderValidators.minLength()` - requires the length of the field's value to be greater than or equal to the provided minimum length.
59
+
-`FormBuilderValidators.minWordsCount()` - requires the words count of the field's value to be greater than or equal to the provided minimum count.
58
60
-`FormBuilderValidators.equalLength()` - requires the length of the field's value to be equal to the provided minimum length.
59
61
-`FormBuilderValidators.numeric()` - requires the field's value to be a valid number.
60
62
-`FormBuilderValidators.required()` - requires the field have a non-empty value.
@@ -186,7 +188,7 @@ See [contribution file](https://github.com/flutter-form-builder-ecosystem/.githu
186
188
187
189
We especially welcome efforts to internationalize/localize the package by translating the default validation `errorText` strings for built-in validation rules.
188
190
189
-
1.Add ARB files
191
+
1. Add ARB files
190
192
191
193
Create one ARB file inside the `lib/l10n` folder for each of the locales you need to add support. Name the files in the following way: `intl_<LOCALE_ISO_CODE>.arb`. For example: `intl_fr.arb` or `intl_fr_FR.arb`.
0 commit comments