mirror of https://github.com/ElemeFE/element
Input: not display clear icon in disabled form (#13208)
parent
87baaad394
commit
7daa72be04
|
@ -205,7 +205,7 @@
|
||||||
},
|
},
|
||||||
showClear() {
|
showClear() {
|
||||||
return this.clearable &&
|
return this.clearable &&
|
||||||
!this.disabled &&
|
!this.inputDisabled &&
|
||||||
!this.readonly &&
|
!this.readonly &&
|
||||||
this.currentValue !== '' &&
|
this.currentValue !== '' &&
|
||||||
(this.focused || this.hovering);
|
(this.focused || this.hovering);
|
||||||
|
|
Loading…
Reference in New Issue