Skip to content

Commit f11ba4d

Browse files
committed
Input: not display clear icon in disabled form
1 parent 87baaad commit f11ba4d

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)