Skip to content
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

binder.clear() should reset the default value to 'empty' and clear all validation errors #8619

Closed
vlukashov opened this issue Jun 25, 2020 · 0 comments · Fixed by #8683
Closed
Assignees

Comments

@vlukashov
Copy link

When calling binder.clear() I expect all form fields to be cleared and show no validation errors (as if the form was just rendered). I also expect that calling 'reset()' after 'clear()' is a no-op. In Flow 3.2.0.alpha7 this is not the case: binder.clear() clears all form fields, but does not reset the validation state, nor resets the form default value:

Screen Recording 2020-06-25 at 12 05 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants