Answers for "select2 jquery modal"

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 "Javascript"

Browse Popular Code Answers by Language