facebook/react

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

astagi opened this issue · 0 comments

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