-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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
});
multiSelect.init();`
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.
thinkmobilede
Metadata
Metadata
Assignees
Labels
No labels