You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unfortunately the workaround by @ChristianSchmidt1981 does not work anymore in the current version as the accessors are private now. I had to modify them to make them public. Why are they private if the Library does not initialize itself?
I've a select box with some selected entries in the html-code.
than i am init the multi-box with
` const multiSelect = new IconicMultiSelect({
select: selectorString,
customCss: true
});
but the initial selected option-tags in the selectbox are not visible.
I could add it with
$(selectorString + " option[selected='selected']").each(function() { const value = this.value; const target = Array.from(multiSelect.domElements.options).find(function (el) { return el.dataset.value === value; }); multiSelect._handleOption( target, false); })
for making initial entries are visible.
The text was updated successfully, but these errors were encountered: