Skip to content

Commit 297a442

Browse files
pdanpdanrstoenescu
authored andcommitted
QSelect: Fix QChip content override by innerHTML (quasarframework#2526)
* QSelect: Fix QChip content override by innerHTML * Update QSelect.js
1 parent 89febb3 commit 297a442

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/select/QSelect.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,10 @@ export default {
324324
},
325325
nativeOn: {
326326
click: e => { e.stopPropagation() }
327-
},
328-
domProps: { innerHTML: opt.label }
329-
})
327+
}
328+
}, [
329+
h('div', { domProps: { innerHTML: opt.label } })
330+
])
330331
}))
331332
child.push(el)
332333
}

0 commit comments

Comments
 (0)