Altinn / Altinn/app-frontend-react

Change the "add new attachment" button

Open
#3,933 0 comments 0 reactions 0 assignees View on GitHub
good-first-issue squad/utforming status/for-consideration
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description of the bug

The “Add New Attachment” button in the `FileUpload` component, when the `displayMode` property is `simple`, should be displayed as a button rather than as a link-style button.

If it remains in the current link-style format, its font should inherit the font-family (sans-serif) instead of default Arial.

Image

### Steps To Reproduce

Add a FileUpload component with `displayMode` property `simple`.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Locate the FileUpload component and inspect how its simple displayMode renders the “Add New Attachment” control. Reproduce the issue with a simple FileUpload, then verify that the control uses the requested button presentation or inherits the sans-serif font when it remains link-style.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.