-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FormBuilderValidators.equal() do not update value to compare #63
Labels
Comments
deandreamatias
added
bug
Something isn't working
help wanted
Extra attention is needed
labels
Sep 15, 2023
Is there an update about this? As I see this is still an issue in the latest version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #61
Originally posted by orbiteleven August 30, 2023
Using
form_builder_validators
withflutter_form_builder
and I have what I think should be a pretty common password+confirm password form, but I'm a bit confused. This is what I have so far:the "custom" validator works fine, but
FormBuilderValidators.equal()
throws an error. What am I doing wrong?For some reason, FormBuilderValidators.equal validator don't update value to compare with fieldValue
A nice way to show the error, is create a validate method with print:
The text was updated successfully, but these errors were encountered: