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? 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
showClear
insetInput 加个清除按钮,方便清除掉选择的日期
The text was updated successfully, but these errors were encountered:
feat: DatePicker insetInput support clear icon #1638
4a7c60c
3c26420
为什么在禁用的输入框上加一个清除按钮?
这是一个对 UI 的妥协。在保证内嵌输入框焦点不乱的情况下,我们禁用了 trigger。但是这时很难快速清除内嵌输入框的内容,特别是在 type=dateTimeRange 时。
这时我们需要加一个清除按钮,按钮的位置有两个。内嵌输入框或者 tirgger 上。
内嵌输入框的问题:
退而求其次,我们选择了在 trigger 输入框上加这个清除按钮。
Sorry, something went wrong.
feat: DatePicker insetInput support clear icon #1638 (#1639)
7a4a67f
Co-authored-by: shijia.me <shijia.me@bytedance.com>
No branches or pull requests
Which Component Need Enhancement 期望新增功能的组件
What does the proposed API look like 期望支持的API
showClear
Feature Description 功能描述
insetInput 加个清除按钮,方便清除掉选择的日期
Additional information 补充说明
The text was updated successfully, but these errors were encountered: