Skip to content

Commit 010fc41

Browse files
ziyoungFeng
authored andcommitted
Input: not display clear icon in disabled form (ElemeFE#13208)
1 parent 4bbbadc commit 010fc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/input/src/input.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
},
206206
showClear() {
207207
return this.clearable &&
208-
!this.disabled &&
208+
!this.inputDisabled &&
209209
!this.readonly &&
210210
this.currentValue !== '' &&
211211
(this.focused || this.hovering);

0 commit comments

Comments
 (0)