Altinn / Altinn/app-frontend-react

Support emptyFieldText in summary2 for Grid component

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

Description

### Description

Summary2 of Grid component does not use `emptyFieldText` setting, and just shows `-` instead. It should use `emptyFieldText` if provided.

### Additional Information

![Image](https://github.com/user-attachments/assets/7f3776b2-fb6d-45d4-b4d5-f9ce62823e3d)

Slack: https://altinn.slack.com/archives/C02EJ9HKQA3/p1737379466019669

Contributor guide

Open the contributing guide

Research direction

Start at the Grid component's Summary2 rendering and look for existing emptyFieldText handling. Confirm that configured emptyFieldText is shown for empty fields instead of '-'.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.