Altinn / Altinn/app-frontend-react
Possible to toggle "Dokumentet er en forhåndsvisning" on/off in PDFPreviewButton
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
In Konkursbehandling we use PDFpreview button for the possibility to print out one of the tabs content, so that the end user can have the information easily available.
### Additional Information
Proposed solution:
An optional boolean true or false for toggling: "Dette er en forhåndsvising" text in the PDFpreview button.

Contributor guide
Research direction
Start by locating the PDFPreviewButton component in the TypeScript frontend and inspect how it renders the “Dette er en forhåndsvising” text. Add the requested optional boolean behavior and verify that the text can be enabled or disabled without changing the button’s PDF preview function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100