Skip to content

Commit 12a4c95

Browse files
author
Raif Özdoğan
committed
works with types added to desc
1 parent 5b7c5d4 commit 12a4c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/form_builder_validators/lib/src/form_builder_validators.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class FormBuilderValidators {
146146
};
147147
}
148148

149-
/// [FormFieldValidator] that requires the length of the field's value to be
150-
/// equal to the provided length.
149+
/// [FormFieldValidator] that requires the length of the field's string value length to be
150+
/// equal to the provided length. Works with String and Iterable types.
151151
static FormFieldValidator<T> lengthEqual<T>(
152152
int length, {
153153
String? errorText,

0 commit comments

Comments
 (0)