Skip to content

Commit

Permalink
fix(QSelect): Do not allow removal of chips when QSelect is readonly …
Browse files Browse the repository at this point in the history
…or disabled #6555 (#6557)
  • Loading branch information
pdanpdan committed Mar 6, 2020
1 parent 3be4298 commit 1806862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/select/QSelect.js
Expand Up @@ -775,7 +775,7 @@ export default Vue.extend({
return this.selectedScope.map((scope, i) => h(QChip, {
key: 'option-' + i,
props: {
removable: this.isOptionDisabled(scope.opt) !== true,
removable: this.editable === true && this.isOptionDisabled(scope.opt) !== true,
dense: true,
textColor: this.color,
tabindex: this.computedTabindex
Expand Down

0 comments on commit 1806862

Please sign in to comment.