-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
reset not working as expected #91
Comments
experiencing same issue.
|
Could you please post a minimal example where this bug occurs? Just a main.dart file is enough. I'll look into it if I can reproduce it. |
@knaeckeKami Thanks for your time. Currently I am swamped with work and in the end I managed by just creating a new key on reset. |
I've faced the same issue. This issue caused by combination of 2 factors:
|
I run into same issue, setting |
This issue should be fixed. Feel free to reopen if not. |
I have have a form with FormBuilderTextField's as per example.
When calling fbKey.currentState.reset(), I can see when stepping through the code, that each field is reset to the initial value.
But when checking the value of the initial value, I see it has the value of the updated textfield which is also shown in the onChange.
I have no idea how this could be happening.
upgraded to v1.7.8+hotfix.3 today, but not sure if that could be an issue.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: