We are adding code for group controller as below, Which have sub conditions.
$this->add_group_control(
Group_Control_Box_Shadow::get_type(),
[
'name' => 'content_box_shadow_normal',
'label' => __( 'Box Shadow', 'theplus' ),
'selector' => '{{WRAPPER}} .pt_plus_asb_wrapper.info-banner.info-banner-style-1 .info-banner-content-wrapper,
{{WRAPPER}} .pt_plus_asb_wrapper.info-banner-style-2 .info-front-content,{{WRAPPER}} .pt_plus_asb_wrapper.sliding-boxes .service-item-loop.active-port,{{WRAPPER}} .pt_plus_asb_wrapper.services-element .se-wrapper-main',
'conditions' => [
'terms' => [
[
'relation' => 'or',
'terms' => [
[
'name' => 'main_style','operator' => '==','value' => 'info-banner',
],
[
'name' => 'main_style','operator' => '==','value' => 'sliding-boxes',
],
[
'terms' => [
[
'name' => 'main_style','value' => 'services-element',
],
[
'name' => 'services_element_style','value' => 'services-element-style-2',
],
],
],
],
],
],
],
]
);
It take default values even without "popover" on group controllers like "box-shadow", "Css-filters" and other.
It also store It's CSS on page even without popover on them.
Another issue is, When you put values and if you try to reset it, It don't take effect. That means If you try to rest it's values, Their values show as it was.
Let me know, If you need more clarification on this issue.
We are adding code for group controller as below, Which have sub conditions.
It take default values even without "popover" on group controllers like "box-shadow", "Css-filters" and other.
It also store It's CSS on page even without popover on them.
Another issue is, When you put values and if you try to reset it, It don't take effect. That means If you try to rest it's values, Their values show as it was.
Screenshots :
https://ibb.co/ZV58BR5 and https://ibb.co/3c5qSLv : This values are default, even we don't do popover on for css filter. That's as soon as we drag and drop the widget.
https://ibb.co/rZKnHHM and https://ibb.co/dknrtmf : Box shadow shows value even It's not selected or not opened(popover)
Let me know, If you need more clarification on this issue.