How does conform form dirty status turn to be false after submission success by Nextjs server action?? #819
Unanswered
takakikasuga
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@edmundhung Hi!!
My Hope
After form submission, I want the latest submitted form values to become the default values, and the form's dirty status to reset to false. Additionally, the submit button should remain disabled unless the user enters a new value after the submission.
In React Hook Form, the reset method is available for this purpose.
Is there a similar reset method in the Conform library?
My Code
conform settings
Server Actions
thk!!
Beta Was this translation helpful? Give feedback.
All reactions