I would like to make a multiple input popup with Sweet Alert2, and one of these input fields should be a select with multiple choices . I tried select2 multiple in some pages like in this example:
<select class="js-example-basic-multiple" name="states[]" multiple="multiple">
<option value="AL">Alabama</option>
...<option value="WY">Wyoming</option>
</select>
With the plugin:
$(document).ready(function() {
$('.js-example-basic-multiple').select2();
});
I tried to insert the HTML code in the custom html description of sweet alert configuration, but it has no effect. It is possibile to insert a select2 in a swal2? Thanks