-
-
Notifications
You must be signed in to change notification settings - Fork 475
Closed
lucasalberto01/flowbite-react
#1Description
Describe the bug
When using the dropdown within a form, when you click to open the dropdown, the form is submitted
To Reproduce
Steps to reproduce the behavior:
- Create a form
- Add a dropdown menu inside the form
Example -> https://codesandbox.io/p/sandbox/flowbite-react-hovh0m?welcome=true
Expected behavior
The idea is that I can use the form with the dropdown inside, there is this example inside the flowbite
https://flowbite.com/docs/forms/select/#select-with-dropdown
Screenshots
When I click on the dropdown, this happens

Project information:
- Tailwind: 3.3.2
- Flowbite: 1.6.5
- Flowbite React: 0.4.4
- Type: Vite and CRA
jbheuschen
Metadata
Metadata
Assignees
Labels
No labels