From ee991b26bcb9982f544ce7160abae0d0a2a9a101 Mon Sep 17 00:00:00 2001 From: Lawrence Ephrim Date: Sun, 16 Jun 2019 17:13:34 +0000 Subject: [PATCH] Update README.md 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f8f1aa882..ba89cfc88b 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Column( "I have read and agree to the terms and conditions"), validators: [ FormBuilderValidators.requiredTrue( - errorMessage: + errorText: "You must accept terms and conditions to continue", ), ],