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] DrawerForm在onOpenChange里使用ProFormInstance的setFieldsValue无法变更表单值 #8920

Open
wdaglb opened this issue Dec 11, 2024 · 1 comment

Comments

@wdaglb
Copy link

wdaglb commented Dec 11, 2024

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

DrawerForm在onOpenChange里使用ProFormInstance的setFieldsValue无法变更表单值
我记得之前是可以的,现在是第一次无法变更,第二次打开可以看到变更

📷 复现步骤

https://codesandbox.io/p/devbox/why9d3

🏞 期望结果

💻 复现代码

https://codesandbox.io/p/devbox/why9d3

© 版本信息

  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

@wdaglb
Copy link
Author

wdaglb commented Dec 11, 2024

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

1 participant