Skip to content

Implemented recursive dependency evaluation to handle multi-level chains #4073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blackandcode
Copy link

No description provided.

…e refresh

Implemented efficient event-based dependency evaluation to handle multi-level chains. The issue was in the JavaScript initialization sequence and how Redux evaluates field dependencies on page load. This solution uses native Redux change events and multi-round evaluation to properly restore field visibility for complex dependency chains (A→B→C→D) without performance overhead.

Key improvements:
- Event-based approach using native Redux dependency system
- Multi-round evaluation (max 3 rounds) for deep dependency nesting
- Smart value detection to only trigger on meaningful field values
- Performance optimized to eliminate recursive approach issues
- Handles complex multi-level dependency chains efficiently
- Fully backward compatible with existing functionality
@blackandcode blackandcode force-pushed the field-dependencies-not-working-after-page-refresh-in-repeater branch from e4c2edc to 53eea28 Compare July 29, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant