From 9050e61c293255f7cbe9296b1f4ae8a89f1e5103 Mon Sep 17 00:00:00 2001 From: Emilio Losada Date: Tue, 19 Jun 2018 23:23:38 -0400 Subject: [PATCH] fix(select): don't allow to clear the selected option when disabled close #3924 --- src/components/select/select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index bc7ca020..79ec1c2c 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -324,7 +324,7 @@ }, canBeCleared(){ const uiStateMatch = this.hasMouseHoverHead || this.active; - const qualifiesForClear = !this.multiple && this.clearable; + const qualifiesForClear = !this.multiple && !this.disabled && this.clearable; return uiStateMatch && qualifiesForClear && this.reset; // we return a function }, selectOptions() {