Altinn / Altinn/app-frontend-react

Edit-button appearing in onlyTable mode for repeating group

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

Description

### Description of the bug

In a repeatingGroup we can use "mode: OnlyTable" to make all the components in the group editable without opening each row with an edit button. Using this mode should remove the edit-button entirely, however if you zoom in enough for the table to view each row with components in a column, the edit button appears again.

### Steps To Reproduce

1. Make a repeatingGroup
2. Use "mode: onlyTable"
3. Zoom in enough for the table to switch viewing and the edit button is there, but doesn't do anything

### Additional Information

![Image](https://github.com/user-attachments/assets/87bd4a69-6d70-4e60-a2e4-4d9bf5ae4bfa)
![Image](https://github.com/user-attachments/assets/688fec4f-4355-41e7-84d3-c7adde7e1deb)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a repeatingGroup configured with mode: OnlyTable, then zoom until the table switches to showing each row's components in a column. Inspect the repeatingGroup rendering path for that responsive transition; done means the edit button remains absent and nonfunctional controls are not rendered in OnlyTable mode.

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
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.