We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b5c0b commit 2a33295Copy full SHA for 2a33295
packages/multiple-select-vanilla/src/MultipleSelectInstance.ts
@@ -337,7 +337,7 @@ export class MultipleSelectInstance {
337
}
338
339
if (!this.fromHtml) {
340
- // this.initHtmlRows();
+ this.initHtmlRows();
341
342
343
this.dataTotal = setDataKeys(this.data || []);
@@ -1565,7 +1565,7 @@ export class MultipleSelectInstance {
1565
} else {
1566
// when multiple values could be set, we need to loop through each
1567
Array.from(this.elm.options).forEach(option => {
1568
- option.selected = selectedValues.some(val => val() === option.value);
+ option.selected = selectedValues.some(val => val.toString() === option.value);
1569
});
1570
1571
0 commit comments