I have the problem that select2 doesn't work in a jquery.confirm modal. It's not clickable and doesn't show any entries. It works fine outside the modal.
<script src="js/select2.full.min.js"></script>
<link rel="stylesheet" href="css/select2.min.css">
$.confirm({
title: 'Modal',
boxWidth: '500px',
icon: 'fa-solid fa-wagon-covered',
useBootstrap: false,
theme: 'material',
typeAnimated: true,
type: 'green',
content: "content"
});
You have to add an extra line that defines the container of the modal content as parent after content is ready.