Describe the issue
BC version where it broke: 28.0
Last working version: 27.x
Description:
On a Card page where a group nested inside a grid() container has Visible = SectionsVisible
and SectionsVisible starts as false at page open, toggling SectionsVisible to true
and calling CurrPage.Update(false) in a field's OnValidate trigger does not cause the
group and its fields to appear in the web client.
The fields remain blank/invisible until Page Inspection (Ctrl+Alt+F1) is opened, which
triggers a full page re-render and the groups then display correctly.
Actual behaviour: Groups that were not in the DOM at initial render remain absent after CurrPage.Update(false).
Expected behavior
Expected behaviour: CurrPage.Update(false) should cause newly-visible groups (including those nested in grids) to render in the DOM.
Steps to reproduce
Minimal repro:
- Card page, SourceTable = any table
- A group nested inside a
grid() with Visible = SectionsVisible where SectionsVisible = false on OnOpenPage
- A scan/lookup field whose
OnValidate sets SectionsVisible := true and calls CurrPage.Update(false)
- Run on BC28 web client → groups do not appear after validate
Additional context
Workaround:
Move Visible = SectionsVisible from the inner nested group up to a top-level group
that is a direct child of area(content), above the grid() container.
This allows BC28's partial-update mechanism to correctly toggle visibility.
Describe the issue
BC version where it broke: 28.0
Last working version: 27.x
Description:
On a Card page where a group nested inside a
grid()container hasVisible = SectionsVisibleand
SectionsVisiblestarts asfalseat page open, togglingSectionsVisibletotrueand calling
CurrPage.Update(false)in a field'sOnValidatetrigger does not cause thegroup and its fields to appear in the web client.
The fields remain blank/invisible until Page Inspection (Ctrl+Alt+F1) is opened, which
triggers a full page re-render and the groups then display correctly.
Actual behaviour: Groups that were not in the DOM at initial render remain absent after
CurrPage.Update(false).Expected behavior
Expected behaviour:
CurrPage.Update(false)should cause newly-visible groups (including those nested in grids) to render in the DOM.Steps to reproduce
Minimal repro:
grid()withVisible = SectionsVisiblewhereSectionsVisible = falseonOnOpenPageOnValidatesetsSectionsVisible := trueand callsCurrPage.Update(false)Additional context
Workaround:
Move
Visible = SectionsVisiblefrom the inner nested group up to a top-level groupthat is a direct child of
area(content), above thegrid()container.This allows BC28's partial-update mechanism to correctly toggle visibility.