mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-06-14 02:14:31 +02:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user