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 14e6677 commit 5fba3a1Copy full SHA for 5fba3a1
packages/multiple-select-vanilla/src/MultipleSelectInstance.ts
@@ -346,8 +346,7 @@ export class MultipleSelectInstance {
346
this.elm.innerHTML = '';
347
if (!this.data) return
348
this.data.forEach((it: OptGroupRowData | OptionRowData) => {
349
- console.log({ it })
350
- if (it.type == 'optgroup') {
+ if (it.type === 'optgroup') {
351
const optgroup = document.createElement('optgroup');
352
optgroup.label = it.label;
353
(it as OptGroupRowData).children.forEach((opt: OptionRowData) => {
0 commit comments