How to purge unchanged values and compare current state with "defaultValues"?
I am developing a profile form where I fetching the profile data from API and hydrating the react-form with response values in defaultValues property and works fine but when some changes are made to the form I want to remove all unchanged property while submitting form.
0 Replies