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

[Bug Report] DatePicker组件使用picker=week模式,无法受控 #4049

Open
1 task
jay4q opened this issue Dec 21, 2023 · 1 comment
Open
1 task

[Bug Report] DatePicker组件使用picker=week模式,无法受控 #4049

jay4q opened this issue Dec 21, 2023 · 1 comment

Comments

@jay4q
Copy link

jay4q commented Dec 21, 2023

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

打开链接:https://antd5.formilyjs.org/zh-CN/components/date-picker#json-schema-%E6%A1%88%E4%BE%8B ,使用【周选择器】

What is expected?

在picker='week'模式下,组件可正常受控

What is actually happening?

在picker='week'模式下,无论选择哪一周,永远显示【2023第51周】(提问题的这周),不受控

Package

@formily/antd-v5@2.3.1


个人本地开发也是这个问题

@janryWang
Copy link
Collaborator

这个会不会是 antd 的问题啊,正常如果不受控,那所有属性都会不受控

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants