Skip to content

Commit f8f76b7

Browse files
committed
Format
1 parent a72c313 commit f8f76b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/form_builder_validators.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ class FormBuilderValidators {
368368
}) =>
369369
(valueCandidate) => true == valueCandidate?.isNotEmpty &&
370370
!isColorCode(valueCandidate!, formats: formats)
371-
? errorText ?? FormBuilderLocalizations.current.colorCodeErrorText(formats.join(', '))
371+
? errorText ??
372+
FormBuilderLocalizations.current
373+
.colorCodeErrorText(formats.join(', '))
372374
: null;
373375
}

0 commit comments

Comments
 (0)