Merge pull request #234

fix(select): only 50 select options would be shown at a time
This commit is contained in:
Herculino Trotta
2025-04-13 00:03:03 -03:00
committed by GitHub

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',