We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
对于Input-Text组件,我希望做到能不支持修改,但是通过其他方式设置值后,可以通过清除按钮清除该值。
如果使用readonly或者disabled,虽然无法修改,但是也无法清除值。
目前想到的是在input焦点获取之后,通过事件去主动失去焦点。但是没有相关的失去焦点的动作。希望能有解决办法
The text was updated successfully, but these errors were encountered:
No branches or pull requests
实现场景:
对于Input-Text组件,我希望做到能不支持修改,但是通过其他方式设置值后,可以通过清除按钮清除该值。
存在的问题:
如果使用readonly或者disabled,虽然无法修改,但是也无法清除值。
当前方案:
目前想到的是在input焦点获取之后,通过事件去主动失去焦点。但是没有相关的失去焦点的动作。希望能有解决办法
The text was updated successfully, but these errors were encountered: