Altinn / Altinn/app-frontend-react
Toggle to remove radiobuttons from List-component
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
The list component has a great setup to display dynamic data, but there should be a posiibility to remove the radiobuttons when selectedItem is unnecessary making the list component readOnly and non-interactible.
The whole column for the radio buttons should be removed, letting the specified colums fill the width of the list component.
Adding an optional field "selectableItems": false would solve this issue.
### Additional Information
_No response_
Contributor guide
Research direction
Start at the List-component entry point and trace how selectedItem controls the radio-button column. Add the optional selectableItems setting and verify that disabling it removes the radio-button column while allowing the remaining columns to use the available width.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100