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

add FieldHandle.reset method #114

Closed
mixvar opened this issue Feb 17, 2022 · 0 comments · Fixed by #124
Closed

add FieldHandle.reset method #114

mixvar opened this issue Feb 17, 2022 · 0 comments · Fixed by #124
Assignees
Labels
feature request Feature requests from users feature New feature or improvement of existing feature
Projects

Comments

@mixvar
Copy link
Collaborator

mixvar commented Feb 17, 2022

reset method for rolling back value to initial value, clearing touched flag and errors. Should propagate down on composite fields

@mixvar mixvar added the feature New feature or improvement of existing feature label Feb 17, 2022
@mixvar mixvar added this to To do in FormTS via automation Feb 27, 2022
@pidkopajo pidkopajo added feature request Feature requests from users and removed feature New feature or improvement of existing feature labels Jul 19, 2022
@mixvar mixvar moved this from To do to In progress in FormTS Aug 14, 2022
@mixvar mixvar self-assigned this Aug 14, 2022
@mixvar mixvar added feature New feature or improvement of existing feature feature request Feature requests from users and removed feature request Feature requests from users labels Aug 14, 2022
mixvar added a commit that referenced this issue Aug 25, 2022
* fix: resolve date/locale issues in tests

* refactor: store snapshot of resolved initialValues in internal form state

* feat: add FieldHandle reset method (#114)

* chore: review fix
FormTS automation moved this from In progress to Done Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature requests from users feature New feature or improvement of existing feature
Projects
Development

Successfully merging a pull request may close this issue.

2 participants