fix: use dropdownParent: body in TomSelect to fix visibility issues
This commit is contained in:
@@ -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' }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user