We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在Schema Form中使用'表单集合'(valueType=’formSet‘)时,如果给父组件设置了initialValue,并给其下的子组件设置为必填,虽然在页面呈现上所有子组件均已填入内容,但直接提交会提示所有子组件为空;同样的,如果只给所有子组件设置initialValue,在不修改内容的前提下提交表单,在onFinish里观察到父组件并没有赋值。
codesandbox
formSet中的父组件与子组件的initialValue能双向同步
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 bug 描述
在Schema Form中使用'表单集合'(valueType=’formSet‘)时,如果给父组件设置了initialValue,并给其下的子组件设置为必填,虽然在页面呈现上所有子组件均已填入内容,但直接提交会提示所有子组件为空;同样的,如果只给所有子组件设置initialValue,在不修改内容的前提下提交表单,在onFinish里观察到父组件并没有赋值。
📷 复现步骤
codesandbox
🏞 期望结果
formSet中的父组件与子组件的initialValue能双向同步
💻 复现代码
codesandbox
© 版本信息
🚑 其他信息
The text was updated successfully, but these errors were encountered: