Skip to content

Commit 0f7e260

Browse files
FORMS-17713 Hidden panels are shown as visible on initial render of form. (#1498)
1 parent c7a55a5 commit 0f7e260

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/panelcontainer/v1/panelcontainer/responsiveGrid.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
data-cmp-is="adaptiveFormPanel"
2121
data-cmp-data-layer="${panel.data.json}"
2222
data-cmp-adaptiveformcontainer-path="${formstructparser.formContainerPath}"
23+
data-cmp-visible="${panel.visible ? 'true' : 'false'}"
24+
data-cmp-enabled="${panel.enabled ? 'true' : 'false'}"
25+
data-cmp-readonly="${panel.readOnly ? 'true' : 'false'}"
2326
title="${panel.tooltipVisible ? '' : panel.tooltipText}"
2427
role="${container.roleAttribute}"
2528
style="${container.backgroundStyle @ context='styleString'}">

ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/panelcontainer/v1/panelcontainer/simple.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
data-cmp-is="adaptiveFormPanel"
2222
data-cmp-data-layer="${panel.data.json}"
2323
data-cmp-adaptiveformcontainer-path="${formstructparser.formContainerPath}"
24+
data-cmp-visible="${panel.visible ? 'true' : 'false'}"
25+
data-cmp-enabled="${panel.enabled ? 'true' : 'false'}"
26+
data-cmp-readonly="${panel.readOnly ? 'true' : 'false'}"
2427
class="cmp-container${wcmmode.edit ? ' {0}': '' @ format=[allowed.cssClass]}"
2528
title="${panel.tooltipVisible ? '' : panel.tooltipText}"
2629
role="${container.roleAttribute}"

0 commit comments

Comments
 (0)