You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
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
我读了源码。
form组件的this.isFormItemChildren在这种情况下为true,导致renderWrapper函数的contextWrapperCol为{},而非this.FormContext。
form-item > form > form-item
就会产生这样的问题。
应该在form的provide加入isFormItemChildren: false,来解决此bug。
The text was updated successfully, but these errors were encountered: