I did:
In Microsoft Edge (I could only test it on v14), submitting a form doesn’t work when there’s a selectized select inside that has a required attribute. Attempting to submit the form simply does nothing in Edge, while it submits the form as expected in other browsers (IE, Firefox, Chrome). I’ve created a minimal test case here: https://codepen.io/anon/pen/MvxGXd. Just open this example in Edge, click on “Empty” an select an item, then click on “Submit”. It won’t work.
Steps to reproduce:
<form action="/api">
<select name="test1" id="test1" required>
<option value="">Empty</option>
<option value="one">One</option>
<option value="two">Two</option>
<option value="three">Three</option>
</select>
<button type="submit">Submit</button>
</form>
<select> with$('#test1').selectize()
Expected result: It should submit the form because it’s valid.
Actual result: Nothing happens.
Removing the required attribute on the <select> fields makes submitting possible again in Edge. This seems like a weird MS Edge bug. Maybe a workaround for this can be implemented into Selectize. A basic example with a hidden and required select field works in MS Edge (see https://codepen.io/anon/pen/oeVyVM), so it must be something in Selectize that triggers the Edge bug.
The required example also doesn’t submit in Edge.
same problem here. does not submit in edge. other browsers are fine.
Thanks for @TomOne
https://github.com/selectize/selectize.js/pull/1320/files - this fix works for MS Edge
+1
This really needs attention.
+1
Any updates on this?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Most helpful comment
This really needs attention.