Skip to content

v2.2.16: Fixes redraw control group sections

Choose a tag to compare

@thorewi thorewi released this 27 Oct 18:57
· 26 commits to main since this release
Ensures that nested control groups are correctly redrawn when a redraw handler is triggered.

The fix addresses an issue where changes within nested control groups were not always reflected in the UI after a redraw. It achieves this by:

- Ensuring the parent form knows of all control groups in the hierarchy
- Checking control group invalidation status in the base form latte template, to trigger redraw when necessary
- Marking all ancestor control groups as invalid when the onRedraw event is triggered

This change provides a smoother user experience by ensuring that the UI accurately reflects the current state of the form.