Skip to content

Commit 1171dbc

Browse files
committed
Format
1 parent 3813c27 commit 1171dbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/form_builder_validators.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ class FormBuilderValidators {
272272
String pattern, {
273273
String? errorText,
274274
}) =>
275-
(valueCandidate) => true == valueCandidate?.isNotEmpty && RegExp(pattern).hasMatch(valueCandidate!)
275+
(valueCandidate) => true == valueCandidate?.isNotEmpty &&
276+
RegExp(pattern).hasMatch(valueCandidate!)
276277
? errorText ?? FormBuilderLocalizations.current.matchErrorText
277278
: null;
278279

0 commit comments

Comments
 (0)