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
ETQ usager, une condition sur une section masque aussi les champs de la section
Add a section_conditions_hide_champs flag on procedures (false by default,
set to true for newly created procedures). When enabled, a champ is hidden
whenever any of its ancestors (header section or repetition) is hidden,
using the champ tree API. Legacy procedures keep the previous behaviour
where a section condition only hides the section header itself.
- visible? now checks the nearest ancestor and recurses up the chain
- turbo updates toggle non-conditional champs nested under conditional
sections (conditional_visibility?)
- PDF export skips champs hidden through the cascade
- champs loaded through champs_on_stream now share their dossier instance
(same technique as champ_for_update), so visibility memoization stays
within one instance graph
- a re-entrancy guard in visible? protects against section conditions
targeting a champ inside the section itself (invalid draft config,
reachable until publication blocks it)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments