I have a form with a simple input and a select2 input like so : http://codepen.io/anon/pen/QyBxwE
Pressing enter while the first input is focused should submit the form (in this case, redirect to a 404 page).
For some reason, the multiple select2 input prevents the form submit. If I remove the select2
class or the multiple
attribute, the form behaves normally.
Tested on Mac OS X Yosemite on Safari, Chrome and Firefox and it happens consistently on all browsers.
(I'm using jQuery 2.1.3 and select2 4.0.1)