We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7c5d4 commit 12a4c95Copy full SHA for 12a4c95
packages/form_builder_validators/lib/src/form_builder_validators.dart
@@ -146,8 +146,8 @@ class FormBuilderValidators {
146
};
147
}
148
149
- /// [FormFieldValidator] that requires the length of the field's value to be
150
- /// equal to the provided length.
+ /// [FormFieldValidator] that requires the length of the field's string value length to be
+ /// equal to the provided length. Works with String and Iterable types.
151
static FormFieldValidator<T> lengthEqual<T>(
152
int length, {
153
String? errorText,
0 commit comments