Altinn / Altinn/app-frontend-react

Exclude repeating group components from PDF

Open
#3,655 0 comments 0 reactions 0 assignees View on GitHub
kind/bug status/triage
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description of the bug

When using `"components": { "excludeFromPDF": [] }` in Settings.json with components that are inside repeating groups, these components still appear in the repeating group summary — even though they are included in the excludeFromPDF configuration.

### Steps To Reproduce

1. Create a repeating group with components.
2. Exclude one or more components from the repeating group using the `"components": { "excludeFromPDF": [] }` configuration.
3. Generate the PDF.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the Settings.json `components.excludeFromPDF` configuration and a repeating group containing excluded components. Trace the PDF generation path and repeating-group summary handling; done means excluded components no longer appear in the generated PDF summary.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.