Skip to content

Commit

Permalink
fix(input): form disabled状态input显示clear (#2634)
Browse files Browse the repository at this point in the history
修复form disabled状态input依然显示clear

#2589
  • Loading branch information
sinbadmaster authored and uyarn committed Aug 3, 2023
1 parent 9cbf932 commit cd59c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default mixins(
},
showClear(): boolean {
return (
((this.value && !this.disabled && this.clearable && !this.readonly) || this.showClearIconOnEmpty)
((this.value && !this.tDisabled && this.clearable && !this.readonly) || this.showClearIconOnEmpty)
&& this.isHover
);
},
Expand Down

0 comments on commit cd59c1c

Please sign in to comment.