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
在做表单时,initialValues可能是来自于数据库,有10个字段,但实际表单只修改一部分(可能只有3个字段),现在form验证通过后返回的数据只有这3个字段的数据,希望能加上initialValues中其它7个字段的数据。另外:Form.List,如果没有数据,验证通过后这个数据里就没有这个字段的数据了,这样在使用PATCH提交给后端时,这个字段就会产生歧义,本义需要把这个List设置为空数组,但是因为没有字段,就保留了原数据
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Basic Info
Steps to reproduce
在做表单时,initialValues可能是来自于数据库,有10个字段,但实际表单只修改一部分(可能只有3个字段),现在form验证通过后返回的数据只有这3个字段的数据,希望能加上initialValues中其它7个字段的数据。另外:Form.List,如果没有数据,验证通过后这个数据里就没有这个字段的数据了,这样在使用PATCH提交给后端时,这个字段就会产生歧义,本义需要把这个List设置为空数组,但是因为没有字段,就保留了原数据
The text was updated successfully, but these errors were encountered: