Altinn / Altinn/app-frontend-react

Required star for fields in a grid

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

Description

### Description of the bug

If a required field is added to a grid the '*' icon that marks it as required is not shown. The functionality of it being required still works, but it would be nice if the star was visible inside the grid.

### Steps To Reproduce

1. Create an input and have it be required
2. Create a grid and add the input into the grid
3. The '*' icon marking i as required is not shown
![image](https://github.com/Altinn/altinn-studio/assets/133201484/cfe9c0d3-d839-42d1-80da-55b4ccba8b77)
![image](https://github.com/Altinn/altinn-studio/assets/133201484/218d28c3-ab6c-40fc-8231-385dd759a40c)

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a required input, placing it in a grid, and checking whether the required-field marker is displayed. Trace the grid's rendering of required inputs, then verify that the marker appears in the grid while required validation continues to work.

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.