Skip to content

When date-picker mode=year. disabledDate disabled, not selectable, not effective #3872

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

Closed
1 task
sxl1996KKK opened this issue Mar 29, 2021 · 7 comments
Closed
1 task
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated

Comments

@sxl1996KKK
Copy link

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

Version

2.1.1

Environment

vue版本2.6.10

Reproduction link

https://www.antdv.com/components/date-picker-cn/

Steps to reproduce

无法禁用

What is expected?

可以支持年份时,禁用生效

What is actually happening?

现在写了disabledDate,不生效

@github-actions github-actions bot changed the title date-picker mode=year时。disabledDate禁用不可选不生效 When date-picker mode=year. disabledDate disabled, not selectable, not effective Mar 29, 2021
@ajuner ajuner added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 29, 2021
@github-actions
Copy link

Hello @sxl1996KKK. Please provide a online reproduction by forking this link for vue2link for vue3 or a minimal GitHub repository. Make sure to choose the correct version.

你好 @sxl1996KKK, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@sxl1996KKK
Copy link
Author

@ajuner
Copy link
Member

ajuner commented Mar 29, 2021

之后会重构datePicker组件,解决这个问题

@donley828
Copy link

donley828 commented Apr 28, 2021

@ajuner 重构会考虑 1.x 版本么?如果不考虑,我针对这个问题对 1.x 提了一个pr #3988 ,烦请review一下,项目bug需要解决。

@huangche007
Copy link

@sxl1996KKK Have you solve this problem?I have same problem,the ant-design-vue version is 2.1.2

@huangche007
Copy link

@ajuner 大佬打算这个bug在哪个版本能够解决,目前我使用的是vue3+ant-design-vue 2.1.2依然有这个问题

@github-actions
Copy link

github-actions bot commented Aug 1, 2022

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 Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated
Projects
None yet
Development

No branches or pull requests

4 participants