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

[Switch]Switch无法使用field的默认值 #4819

Closed
xmsz-stu opened this issue Apr 12, 2024 · 3 comments · Fixed by #4820
Closed

[Switch]Switch无法使用field的默认值 #4819

xmsz-stu opened this issue Apr 12, 2024 · 3 comments · Fixed by #4820
Labels
🐞 Bug Something isn't working

Comments

@xmsz-stu
Copy link

Component

Switch

Steps to reproduce

在1.27.10版本中

const field = {values: {a: true}}
<Form field={field}>
<Form.Item name=''a"><Switch/></Form.Item>
</Form>

switch会是关闭的状态,回滚到1.27.8正常

@eternalsky
Copy link
Contributor

请提供可复现的 demo。

@eternalsky eternalsky added the Insufficient information Further information is requested label Apr 12, 2024
Copy link

你好 @xmsz-stu,由于缺乏必要的信息(如 bug 重现步骤、复现 demo 等),无法定位问题。请补充相应的信息以帮助我们更快地定位问题。复现 demo 可以是 codesandboxcodepen 或是 GitHub 仓库的链接。在相关 label 移除之前,由于无法快速跟进我们将降低处理的优先级。

@eternalsky eternalsky added the 🐞 Bug Something isn't working label Apr 12, 2024
@eternalsky
Copy link
Contributor

已经复现问题了,今天会发 hotfix 修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working
Projects
None yet
2 participants