Skip to content

Commit bc76bd9

Browse files
authored
fix(QSelect): add keys to target elements to prevent Vue from reusing the element quasarframework#7154 (quasarframework#7167)
1 parent 34305b2 commit bc76bd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/components/select/QSelect.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ export default Vue.extend({
844844
h('div', {
845845
// there can be only one (when dialog is opened the control in dialog should be target)
846846
ref: 'target',
847+
key: 'd_t',
847848
staticClass: 'no-outline',
848849
attrs: {
849850
id: this.targetUid,
@@ -931,6 +932,7 @@ export default Vue.extend({
931932
__getInput (h, fromDialog) {
932933
const options = {
933934
ref: 'target',
935+
key: 'i_t',
934936
staticClass: 'q-field__input q-placeholder col',
935937
style: this.inputStyle,
936938
class: this.computedInputClass,

0 commit comments

Comments
 (0)