#useform reset not working
2 messages · Page 1 of 1 (latest)
2 messages · Page 1 of 1 (latest)
I am trying to use the reset function in my form, but for some reason its not working.
I am trying to make a contact card component that has an edit button with a cancel button. my button onclick calls form.reset() but when I re-enable the edit mode, the values from before the cancel are still present