Merge pull request #5761 from pratu16x7/webform-fixes

[fix][remove] webform section-body for alignment
This commit is contained in:
Prateeksha Singh 2018-07-02 10:55:23 +05:30 committed by GitHub
commit fa38309192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,9 @@ export default class WebForm {
});
this.fieldGroup.make();
this.wrapper.find(".form-column").unwrap(".section-body");
if(doc) {
this.fieldGroup.set_values(doc);
}