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

The disabledTime attribute in the TimePicker component did not meet my expectations《TimePicker 组件中disabledTime属性不符合我的预期》

Open spadek-w opened this issue 1 year ago • 2 comments

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

Version

4.0.6

Environment

vue3,ant-design-vue-4.0.6

Reproduction link

Edit on CodeSandbox

Steps to reproduce

期望'02:02:02 - 05:05:05' 外其他时间禁用 1、选择02时后 2、分00、01确实不可选, 3、但是有个默认值02:00:00,点击ok就成了02:00:00 4、可以选择02:00:00 不是我期望的

What is expected?

期望'02:02:02 - 05:05:05' 外其他时间禁用, 只能选择02:02:02 - 05:05:05的时间

What is actually happening?

实际目前ant-design-vue-4.0.6版本中 能选出02:00:00的时间

spadek-w avatar Nov 01 '23 06:11 spadek-w

4.0.7有遇到过打包后,日期组件通过 focus 事件拉起弹窗的 bug 吗

13389203735 avatar Dec 25 '23 06:12 13389203735

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

Version

4.0.6

Environment

vue3,ant-design-vue-4.0.6

Reproduction link

Edit on CodeSandbox

Steps to reproduce

期望'02:02:02 - 05:05:05' 外其他时间禁用 1、选择02时后 2、分00、01确实不可选, 3、但是有个默认值02:00:00,点击ok就成了02:00:00 4、可以选择02:00:00 不是我期望的

What is expected?

期望'02:02:02 - 05:05:05' 外其他时间禁用, 只能选择02:02:02 - 05:05:05的时间

What is actually happening?

实际目前ant-design-vue-4.0.6版本中 能选出02:00:00的时间 我遇到了同样的场景

chenxiaoleizi avatar Jan 11 '24 04:01 chenxiaoleizi

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 Mar 12 '24 02:03 github-actions[bot]