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
点击第一层添加时,基于默认值来,而不是第二层会有多条
第二层出现3条
@formily/[email protected]
checked: { type: "boolean", "x-decorator": "FormItem", "x-component": "Checkbox", default: true, },
当我没有给 checked 设置默认值的时候,表现看上去正常,但是也有问题,当修改了某个值,依然会出现此问题
The text was updated successfully, but these errors were encountered:
主要是因为 你setchecked产生了initialValues
这个问题很无解 我一般都手动操作initialValues
Sorry, something went wrong.
fix: 🐛 patchFieldStates#destory>forceClear by initialValue
3db61ad
✅ Closes: alibaba#4024
5739359
fix: nested array initial-value reset on destory.
Successfully merging a pull request may close this issue.
Reproduction link
Steps to reproduce
What is expected?
点击第一层添加时,基于默认值来,而不是第二层会有多条
What is actually happening?
第二层出现3条
Package
@formily/[email protected]
其他
当我没有给 checked 设置默认值的时候,表现看上去正常,但是也有问题,当修改了某个值,依然会出现此问题
The text was updated successfully, but these errors were encountered: