Topic: MDBWysiwyg causes the form to submit when drop downs are clicked
clickstudioltd priority asked 1 year ago
When MDBWysiwyg
is used inside a form, clicking on any of the drop down buttons causes the form to submit.
This issue existed previously with other buttons as well and they got fixed by adding a type="button"
to them but the same thing is not carried out to the drop down buttons.
The default value for type
property of buttons is submit
so if you don't explicitly define the button type, any button is treated as a submit button inside a form.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 6.2.0
- Device: PC
- Browser: Mozilla Firefox
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No
Mateusz Lazaru staff commented 1 year ago
Thanks for reaching out to us. We have already a fix waiting to be released.