I have a form. When I fill it out and click the submit button, the data is submitted. At that time, I also reset the form. However, when I close the drawer and then reopen it, the previously submitted data reappears in the input fields. I'm trying to fix this issue. Can you help, if possible?
Describe the bug
I have a form. When I fill it out and click the submit button, the data is submitted. At that time, I also reset the form. However, when I close the drawer and then reopen it, the previously submitted data reappears in the input fields. I'm trying to fix this issue. Can you help, if possible?
Affected component/components
Drawer
How to reproduce
https://github.com/shadcn-ui/ui/assets/76679390/30f9f6ac-9791-455c-bf9e-e4fb4520a474
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting