New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report]AutoComplete组件disabled与clearable同用时clearable应该不能清空 #6161
Comments
https://run.iviewui.com/hMp0SDee 我本地和同事的电脑都能打开的 |
@JunYiZzz |
我觉得这个并不是一个问题,clearable属性就是提供清空的功能,如果想在disabled时不能被清理就不应该添加clearable属性,个人看法。 |
试了下 input/select/cascader/datePicker/timePicker 这些输入型的组件在disabled的时候都是不能清空的,我觉得需要统一一下 |
嗯,如果作者其他的已经是这么处理了,那确实最好统一 |
inputIcon没有判断disabled属性,导致在禁用时也能清空内容
Environment
iView Run版本
Reproduction link
https://run.iviewui.com/hMp0SDee
Steps to reproduce
见重现示例
What is expected?
不能清空
What is actually happening?
输入值被清空
The text was updated successfully, but these errors were encountered: