Merge pull request #555 from eitchtee/feat/tom-select-improvements

feat(tom-select): clear input after picking on a multi-item select
This commit is contained in:
Herculino Trotta
2026-06-12 23:38:31 -03:00
committed by GitHub
+4 -1
View File
@@ -60,12 +60,15 @@ window.TomSelect = function createDynamicTomSelect(element) {
]
});
},
onDropdownOpen: function () {
schedulePopperUpdate(this);
},
onItemAdd: function () {
if (this.settings.mode === 'multi') {
this.setTextboxValue();
this.refreshOptions(false);
}
schedulePopperUpdate(this);
},
onItemRemove: function () {