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

Bug: forms don't behave correctly with Lit custom elements #31891

Open
astagi opened this issue Dec 23, 2024 · 0 comments
Open

Bug: forms don't behave correctly with Lit custom elements #31891

astagi opened this issue Dec 23, 2024 · 0 comments
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@astagi
Copy link

astagi commented Dec 23, 2024

React version: 19.0.0

Steps To Reproduce

  1. Use Lit custom element inside a form (an input and a submit button)
  2. Try to get the input value

Link to code example:

The current behavior

Custom elements behave correctly in Angular, VanillaJS, Vue and React using react-hook-forms

The expected behavior

I'd like to see it working using the native form in React

@astagi astagi added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant