diff --git a/src/components/select/QSelect.vue b/src/components/select/QSelect.vue index 1e2599fc2567..edc303bc25a7 100644 --- a/src/components/select/QSelect.vue +++ b/src/components/select/QSelect.vue @@ -30,13 +30,13 @@ :class="alignClass" > {{ label }} @@ -182,7 +182,7 @@ export default { optModel () { if (this.multiple) { return this.value.length > 0 - ? this.options.map(opt => !opt.disable && this.value.includes(opt.value)) + ? this.options.map(opt => this.value.includes(opt.value)) : this.options.map(opt => false) } }, diff --git a/src/components/select/select-mixin.js b/src/components/select/select-mixin.js index 93ded6d8c544..d0d02ad97f03 100644 --- a/src/components/select/select-mixin.js +++ b/src/components/select/select-mixin.js @@ -38,7 +38,7 @@ export default { return this.displayValue } if (!this.multiple) { - const opt = this.options.find(opt => (!opt.disable && opt.value === this.value)) + const opt = this.options.find(opt => opt.value === this.value) return opt ? opt.label : '' } @@ -48,7 +48,7 @@ export default { selectedOptions () { if (this.multiple) { return this.length > 0 - ? this.options.filter(opt => (!opt.disable && this.value.includes(opt.value))) + ? this.options.filter(opt => this.value.includes(opt.value)) : [] } },