Altinn / Altinn/app-frontend-react

Radio buttons answers is hard to see on the PDF

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

Description

### Description of the bug

I have added a PrintButton on one page. When I answer radio button questions, and then print/Save PDF, the answer i chose for radio button questions is very hard to see. The only indication i get is a color change from black to blue on the circle. It's missing a dot in the middle, as you can see when you fill out the form.

### Steps To Reproduce

1. Ad a PrintButton to a FormLayout.json:
{
"id": "printButtonInfo",
"type": "PrintButton"
}
2. Answer some radio button questions.
3. Press the "Print/save PDF" button.
4. In the preview and if you download the PDF. The radio button answers is missing the dot in the middle.

### Additional Information

![image](https://github.com/user-attachments/assets/cbfd4abe-5a93-47a4-8136-39336cfa520a)

Contributor guide

Open the contributing guide

Research direction

Start with the PrintButton entry configured in FormLayout.json and reproduce the issue by selecting radio buttons, then using Print/save PDF. Trace the print/PDF rendering of the selected radio control and compare it with the normal form display. Done means the selected answer visibly includes a center dot in both the preview and downloaded PDF.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.