Closed lohxt1 closed 6 days ago
~ when submitting a form inside a modal by pressing the enter key, the onSubmit function is executed twice: once by the modal and once by the form's onSubmit, leading to already exists error
enter key
already exists
https://github.com/user-attachments/assets/bee4875b-770b-403b-9738-c006e09b4b69
~ when submitting a form inside a modal by pressing the
enter key
, the onSubmit function is executed twice: once by the modal and once by the form's onSubmit, leading toalready exists
errorhttps://github.com/user-attachments/assets/bee4875b-770b-403b-9738-c006e09b4b69