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
fix(Form): fix getValueProps shouldn't work when FormItem's name doesn't exist #48163
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #48163 Passed ✅
🎊 Congrats! No visual-regression diff found. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
这个改了 minor 版本,不需要放在 feature 分支么? |
rc-field-form@1.43.0 、rc-field-form@1.44.0 好像都是bugfix |
change log 应该把 rc-field-form@1.43.0 、rc-field-form@1.44.0 的fix 都包含一下 |
done |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
fix #47952
💡 Background and solution
📝 Changelog
getValueProps
shouldn't work when FormItem'sname
doesn't exist . 2. Fix Form'ssetFieldsValue
should tread same assetFields
.name
不存在时,getValueProps
不应该执行。2. 修复 Form 的setFieldsValue
和setFields
的行为应该相同。☑️ Self-Check before Merge