Skip to content

Commit 1971a84

Browse files
Lawrence Ephrimdanvick
authored andcommitted
Update README.md (#79)
Fix named parameter 'errorMessage' isn't defined error in FormBuilderValidators.requiredTrue for FormBuilderCheckBox validator. The 'errorMessage' parameter is renamed to the correct name 'errorText' instead.
1 parent 68a52dd commit 1971a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Column(
4343
"I have read and agree to the terms and conditions"),
4444
validators: [
4545
FormBuilderValidators.requiredTrue(
46-
errorMessage:
46+
errorText:
4747
"You must accept terms and conditions to continue",
4848
),
4949
],

0 commit comments

Comments
 (0)