Answers for "select2 use in popup modal bootstrap"

1

select2 in modal not work

//replace it with your script
<script>
    $('#mySelect2').select2({
        dropdownParent: $('#myModal')
    });
</script>
Posted by: Guest on December-15-2020
0

enforcefocus select2 modal

// Do this before you initialize any of your modals
$.fn.modal.Constructor.prototype.enforceFocus = function() {};
Posted by: Guest on October-19-2020

Code answers related to "select2 use in popup modal bootstrap"

Code answers related to "Javascript"

Browse Popular Code Answers by Language