Altinn / Altinn/app-frontend-react

Missing helpText when using RepeatingGroup with mode `onlyTable`

Open
#2,576 1 comment 0 reactions 0 assignees View on GitHub
area/table kind/feature-request
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description of the bug

The helpText of a text input is completely missing when using RepeatingGroup with mode `onlyTable`.

![Image](https://github.com/user-attachments/assets/5530778b-418a-4759-ab4b-2d1aaccb0526)

When using any of the other modes, the info-button is shown next to the label:

![Image](https://github.com/user-attachments/assets/3db96ef3-1050-4f53-a984-15a83afe6cea)

### Steps To Reproduce

1. Add a RepeatingGroup
2. Set the `mode` to `onlyTable`
3. Add an Input to the RepeatingGroup
4. Add a helpText to the Input

### Additional Information

I would expect the helpText to be visible somewhere around the input field. The most obvious place would be next to the table header here 🙂 :

![Image](https://github.com/user-attachments/assets/70f2890d-396a-4bd2-86d4-d51f7b099ab4)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a RepeatingGroup in mode `onlyTable`, containing an Input with helpText, and compare it with the other modes. Trace the RepeatingGroup table rendering entry point and verify that the completed change makes the helpText visible around the input or table header.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.