forked from TFMM/silent-auction
feat: install and scaffold Tablar theme #6
@@ -48,5 +48,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</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, {
|
||||
create: false,
|
||||
sortField: { field: 'text', direction: 'asc' }
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@include('components.tomselect')
|
||||
|
||||
Reference in New Issue
Block a user