Reset form dirty state without calling reset #1682
Answered
by
bufordtaylor
bufordtaylor
asked this question in
General
|
I am using react-froala-wysiwyg in one of the form fields. I register the component manually to make it work via useEffect When I save, I would like to clean the dirty state. In the docs and in the github issues, it seems the common approach is to Is there a way to reset the dirty state without calling reset on all the form fields? |
Answered by
bufordtaylor
May 23, 2020
Replies: 1 comment 1 reply
|
Interesting follow-up here. If I reset the value to anything other than the current value, it doesn't vanish |
1 reply
Answer selected by
bluebill1049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Interesting follow-up here. If I reset the value to anything other than the current value, it doesn't vanish