Skip to content

Commit 6771ecb

Browse files
pdanpdanrstoenescu
authored andcommitted
QSelect: fix wrong key for chips - use index (quasarframework#2392)
1 parent 07b7ecc commit 6771ecb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/select/QSelect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,9 @@ export default {
306306
const el = h('div', {
307307
staticClass: 'col row items-center group q-input-chips',
308308
'class': this.alignClass
309-
}, this.selectedOptions.map(opt => {
309+
}, this.selectedOptions.map((opt, index) => {
310310
return h(QChip, {
311-
key: opt.value,
311+
key: index,
312312
props: {
313313
small: true,
314314
closable: this.editable && !opt.disable,

0 commit comments

Comments
 (0)