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
// shifts the react component to override the entire field holder element
if (this.parent('.form__field-holder').length) {
this.unwrap('.form__field-holder');
this.siblings().remove();
this.unwrap('.form-group').attr('class', 'TreeDropdownField form-group');
}
The problem is that this incorrectly mangles the DOM classes.
Expected dom:
Actual dom:
Instead of flipping the dom inside out, can't you just attach the component to the outer html?
Styling of all tree dropdown fields in the pages setting form is messed up
Pull requests
The issue is caused by this code:
The problem is that this incorrectly mangles the DOM classes.
Expected dom:
Actual dom:
Instead of flipping the dom inside out, can't you just attach the component to the outer html?
The text was updated successfully, but these errors were encountered: