A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js.
I'm using Conform and Shadcn Stepper to build a multi-step form, and running into a similar issue with repopulating form fields when navigating back to previous steps,
Conform does not persist any form value. You can either keep the submitted value in a database, a cookie or even in the document by rendering the inputs on the previous step again but making them visually hidden.
Describe the bug and the expected behavior
I'm using
Conform
and Shadcn Stepper to build a multi-step form, and running into a similar issue with repopulating form fields when navigating back to previous steps,Conform version
v1.1.4
Steps to Reproduce the Bug or Issue
You can check out the code on CodeSandbox: https://codesandbox.io/p/devbox/conform-with-shadcn-stepper-fxl9sz
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Safari, Others
Screenshots or Videos
No response
Additional context
No response