-
<DropdownMenu.Item asChild>
<button form="123" type="submit">
Submit
</button>
</DropdownMenu.Item> When the button is clicked, the form does not get submitted as expected. However, if the button is triggered by pressing the enter key, or if the |
Beta Was this translation helpful? Give feedback.
Answered by
joaom00
Apr 7, 2023
Replies: 1 comment
-
I think the problem is exactly that, the submit event not bubble up to form because the button is unmounted when content closes |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
benoitgrelard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the problem is exactly that, the submit event not bubble up to form because the button is unmounted when content closes