ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

能不能在rang-date-picker加个next的方法

Open lllianreg opened this issue 11 months ago • 2 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

比如使用日期时间组件时 我设定就是YYYY-MM-DD 00:00:00 - YYYY-MM-DD 23:59:59 只要用户选日期了 时间默认就给他设定好的值 不用点[确定]才去跳转下个值 (因为很大比例的用户不会去选择时间只有特殊情况下会用到) 可以自动跳转第二个日期选择或者expose一个next的方法 让开发人员可以根据用户需求自己diy 现在暴露的方法真是少到diy不起来啊 我们产品好多次都跟我说 我们换个组件吧 我TM。。。

What does the proposed API look like?

expose({ next });

lllianreg avatar Mar 22 '24 07:03 lllianreg

确实是这样,大多数人没有点确定的习惯

huanguanga avatar Apr 03 '24 01:04 huanguanga

看之前的帖子,MutationObserver 这个API可以实现不点击确认就选定时间

huanguanga avatar Apr 07 '24 02:04 huanguanga

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 07 '24 02:06 github-actions[bot]