conform
conform copied to clipboard
Missing default values on Next.js Edge Runtime
Describe the bug and the expected behavior
Hello! I just discovered a strange bug where the default values are missing in Next.js with the Edge Runtime. It’s likely a bug in Next.js, but it doesn’t hurt to report it here as well and start the conversation 🙂
(btw It's awesome to see the project actively developing again! Kudos to chimame for the Valibot adapter ❤️)
Conform version
1.3.0
Steps to Reproduce the Bug or Issue
- Disable JavaScript.
- Load http://localhost:3000/.
- Observe that the form is empty.
- Comment out the line
export const runtime = "edge". - Reload the page and notice that the form is no longer empty.
What browsers are you seeing the problem on?
Chrome
Screenshots or Videos
https://github.com/user-attachments/assets/94ac4a28-8208-4e26-b742-745d1352e2e5