bootbox
bootbox copied to clipboard
Select2 can't type in bootbox's modal
Run this demo http://jsfiddle.net/atans/b5VZk/6/
Step 1: Click the select2 Chrome: Cant't type now
Step 2: blur
Step 1: Click the select2 again Firefox: Cant't type now
Firefox 20, Chrome 26
----------------------------------- update ----------------------------------- Bootstrap model does not have this problem. See http://jsfiddle.net/atans/b5VZk/8/
Resolved: http://jsfiddle.net/b5VZk/10/
$('#area').parents('.bootbox').removeAttr('tabindex'); // Add this line $('#area').select2();