You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you submitting a bug report or a feature request?
Feature request
What is the current behavior?
When the form reinitializes the meta.touched property is reset.
What is the expected behavior?
It would be really helpful if there would be a keepTouchedOnReinitialize property, similar to keepDirtyOnReinitialize. For example, I don't display field validation errors unless the field has been touched. However, a context change can trigger a rerender of RFF which resets the touched status, causing the validation error to disapear until the field is touched again.
The text was updated successfully, but these errors were encountered:
That's very interesting. I'm always surprised when people come up with feature ideas that I haven't heard before. Seems like it wouldn't be too difficult to implement. I don't have a lot of time lately to devote to this library, but a PR would be welcome.
Are you submitting a bug report or a feature request?
Feature request
What is the current behavior?
When the form reinitializes the meta.touched property is reset.
What is the expected behavior?
It would be really helpful if there would be a keepTouchedOnReinitialize property, similar to keepDirtyOnReinitialize. For example, I don't display field validation errors unless the field has been touched. However, a context change can trigger a rerender of RFF which resets the touched status, causing the validation error to disapear until the field is touched again.
The text was updated successfully, but these errors were encountered: