Altinn / Altinn/app-frontend-react

Toggle to remove radiobuttons from List-component

Open
#3,638 0 comments 0 reactions 0 assignees View on GitHub
kind/feature-request
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.