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

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

Closed
1 task done
spadek-w opened this issue Nov 1, 2023 · 4 comments

Comments

@spadek-w
Copy link

spadek-w commented Nov 1, 2023

  • 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的时间

@13389203735
Copy link

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

@chenxiaoleizi
Copy link

  • 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的时间
我遇到了同样的场景

Copy link

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

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants