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

The wrapper-col setting of the form component in the form-item component is invalid #4073

Closed
allen0815 opened this issue May 12, 2021 · 2 comments
Labels

Comments

@allen0815
Copy link

我读了源码。
form组件的this.isFormItemChildren在这种情况下为true,导致renderWrapper函数的contextWrapperCol为{},而非this.FormContext。

form-item > form > form-item
就会产生这样的问题。

应该在form的provide加入isFormItemChildren: false,来解决此bug。

@close-issue-app
Copy link

Your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@github-actions github-actions bot changed the title form-item组件里的form组件设置wrapper-col无效 The wrapper-col setting of the form component in the form-item component is invalid May 12, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant