How to clear form after successfully submitting?
Unanswered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
I am using useFormState hook and server action
1 Reply
Normally it will be cleared automatically. If not, you can access the Dom element (you get it for the your own function) and the get the target and .reset() the form