shadcn Form
Hello im having two forms made with shadcn components and react-hook-from Controller for validation
The idea is when u fill the first form and submit it. The second form takes the first one place.
I added a cancel button to take the user back to the the first one . I want it with all the fields filled up with the previous data but idk how to do it through the controller.
That's a code snippet.
The idea is when u fill the first form and submit it. The second form takes the first one place.
I added a cancel button to take the user back to the the first one . I want it with all the fields filled up with the previous data but idk how to do it through the controller.
That's a code snippet.
