[DependsOn] Incorrect behavior of tab-visibility action
*/
function tabChildrenVisibility($tabPanel, state) {
$tabPanel.find('.coral-Form-field').each((index, el) => {
+ if (state && $(el).is('[data-dependson]')) {
+ ns.QueryObserver.init($(el)).forEach((observer) => observer.update());
+ } else {
ns.ElementAccessors.setVisibility($(el), state);
+ }
});
}
