Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 15 breaks select form element #66353

Open
benjamin79 opened this issue May 29, 2024 · 0 comments
Open

Version 15 breaks select form element #66353

benjamin79 opened this issue May 29, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template.

Comments

@benjamin79
Copy link

benjamin79 commented May 29, 2024

Link to the code that reproduces this issue

https://github.com/vercel/next-learn/tree/main/dashboard/final-example

To Reproduce

  1. Install and run https://github.com/vercel/next-learn/tree/main/dashboard/final-example
  2. Remove redirect when a invoice is updated
  3. Open an invoice
  4. Select a different customer from the select.
  5. Click Edit Invoice

-> The select shows the old value again. After page refresh the new correct option is shown.

In Version < 15 the newly selection options stays after submitting a form. Does not happen wir input fields.

Current vs. Expected behavior

Options stays after submitting a form

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020
  Available memory (MB): 16384
  Available CPU cores: 10
Binaries:
  Node: 20.12.2
  npm: 10.8.0
  Yarn: 1.22.21
  pnpm: 9.1.3
Relevant Packages:
  next: 15.0.0-rc.0 // Latest available version is detected (15.0.0-rc.0).
  eslint-config-next: 14.0.0
  react: 19.0.0-rc-38e3b23483-20240529
  react-dom: 19.0.0-rc-38e3b23483-20240529
  typescript: 5.2.2
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Vercel (Deployed)

Additional context

No response

@benjamin79 benjamin79 added the bug Issue was opened via the bug report template. label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

1 participant