If you have a form inside a modal dialog with input elements, the default click handlers (e.g. for selecting files on file inputs , or checkboxes) never fire, and a user cannot interact with the form.
This happens because at[1] , all click events have their default prevented. When clicking on form elements inside the modal, bootstrap should allow the default browser behavior.
It should actually check if the event.defaultTarget came from a is(":input") el and do not capture that inside the modal.
https://github.com/twitter/bootstrap/blob/master/js/bootstrap-modal.js#L254
If you have a form inside a modal dialog with input elements, the default click handlers (e.g. for selecting files on file inputs , or checkboxes) never fire, and a user cannot interact with the form.
This happens because at[1] , all click events have their default prevented. When clicking on form elements inside the modal, bootstrap should allow the default browser behavior.
It should actually check if the event.defaultTarget came from a is(":input") el and do not capture that inside the modal.
https://github.com/twitter/bootstrap/blob/master/js/bootstrap-modal.js#L254