fix(select): only 50 select options would be shown at a time

This commit is contained in:
Herculino Trotta
2025-04-13 00:02:23 -03:00
parent ac54ba3da1
commit 7706ca2d5f

View File

@@ -6,6 +6,7 @@ window.TomSelect = function createDynamicTomSelect(element) {
// Basic configuration
const config = {
plugins: {},
maxOptions: null,
// Extract 'create' option from data attribute
create: element.dataset.create === 'true',