MDBWysiwyg causes the form to submit when drop downs are cli


Topic: MDBWysiwyg causes the form to submit when drop downs are clicked

clickstudioltd pro premium priority asked a 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.


Mateusz Lazaru staff commented a year ago

Thanks for reaching out to us. We have already a fix waiting to be released.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 6.2.0
  • Device: PC
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags