Skip to content
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

Support for dynamic rule configuration in repeating groups that are nested #55

Closed
acn-dgopa opened this issue Jan 13, 2022 · 4 comments
Closed
Assignees

Comments

@acn-dgopa
Copy link
Member

What needs to be solved?

It should be possible to configure dynamic rules for components inside nested repeating groups.

How do you want it solved?

  • Configure the repeating group in the rule configuration with the nested group id and the input value configuration similar to existing dynamic
    "7831f53f-7ede-4b27-941e-2643a92c1713": {
    "selectedFunction": "showWhenPersonIsSelected",
    "inputParams": {
    "value": "A{0}.B{0}.X"
    },
    "selectedAction": "Show",
    "selectedFields": {
    "56edae00-478d-482a-8443-ec285c6a55f4": "B-dropdownY{0}"
    },
    "repeatingGroup": {
    "groupId": "A",
    "nestedGroupId": "B"
    }
    },

Alternative solutions

Additional context

@lorang92
Copy link
Contributor

lorang92 commented May 6, 2022

@acn-dgopa this feature has now been implemented. Would you mind taking a look and verifying the need?
See related docs: https://docs.altinn.studio/nb/app/development/logic/dynamic/#n%C3%B8stede-repeterende-grupper

@acn-dgopa
Copy link
Member Author

@RogerKjaernsrod @ingunnjv FYI

@RogerKjaernsrod
Copy link

Testet ok for mt-3 (Økokrim)

@lorang92
Copy link
Contributor

lorang92 commented May 6, 2022

Closing issue as done.

@lorang92 lorang92 closed this as completed May 6, 2022
olemartinorg pushed a commit that referenced this issue Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants