Skip to content
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

[新功能需求] dateTimePciker 希望能添加clearable #861

Open
qwer630701 opened this issue Jan 21, 2025 · 1 comment
Open

[新功能需求] dateTimePciker 希望能添加clearable #861

qwer630701 opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
feature: need confirm 待确认的新特性

Comments

@qwer630701
Copy link

这个功能解决了什么问题?

根据查看发现 input和picker组件都有clearable功能
但是dateTimePicker没有 能不能统一价上?

你期望的 API 是什么样子的?

<wd-datetime-picker v-model="value" label="日期选择" @confirm="handleConfirm" clearable />

加上一个clearable 就可以实现和picker和input一样的效果 可以删除选择的内容 而不用像现在通过改变取消按钮的文字显示 还要加上取消事件那么麻烦

@qwer630701 qwer630701 added the feature: need confirm 待确认的新特性 label Jan 21, 2025
@810505339 810505339 self-assigned this Jan 24, 2025
@810505339
Copy link
Collaborator

会增加icon插槽 鼓励用户自己实现功能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: need confirm 待确认的新特性
Projects
None yet
Development

No branches or pull requests

2 participants