-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
[Feature]: dirtyFields & isDirty #104
Comments
This is something I want to add, but not sure I can promise a timeline right now. |
It would be really useful to have this! I'm aware too! |
Seconding this, it's necessary to know if the form is dirty to show reset button when dirty and disable submit button when not dirty. |
Would be awesome to have this! It would be very useful for building an |
Not sure how much time I have to implement this, so I want to leave a workaround for anyone struggling with this. You can handle most use-cases for this to some degree without an explicit
If you have inputs outside the form itself, you could attach the
This won't handle 100% of cases, like if you have a custom component that only works through |
What is the new or updated feature that you are suggesting?
dirtyFields
andisDirty
states like react-hook-formWhy should this feature be included?
It would be really useful If we can get
isDirty
state to use disabling submit button and/or we can post only dirty fields.The text was updated successfully, but these errors were encountered: