fix: use dropdownParent: body in TomSelect to fix visibility issues

This commit is contained in:
2026-05-01 14:32:37 -04:00
parent e8a31380f7
commit a7edc0115d
+1 -2
View File
@@ -50,11 +50,10 @@
</div>
<script>
// Force immediate initialization of TomSelect for this page to bypass component/stack issues
window.addEventListener('load', function() {
console.log("Forcing TomSelect init...");
document.querySelectorAll('select').forEach(function(el) {
new TomSelect(el, {
dropdownParent: 'body',
create: false,
sortField: { field: 'text', direction: 'asc' }
});