When using a ComboBox inside a form, clicking the dropdown button (which would normally expand the combobox dropdown) causes the form to be submitted. This is due to the button not having a type attribute set, causing the type attribute to fall back to it's default type which is "submit".
This only affects usage within forms (which is why it hasn't been an issue until now).
Description
When using a ComboBox inside a form, clicking the dropdown button (which would normally expand the combobox dropdown) causes the form to be submitted. This is due to the button not having a
type
attribute set, causing thetype
attribute to fall back to it's default type which is "submit".This only affects usage within forms (which is why it hasn't been an issue until now).
To Reproduce
Expected Behavior
The dropdown should simply expand
Actual Behavior
The parent form is actually submitted