Altinn / Altinn/app-frontend-react
Warning when missing code list for radiobuttons/radioknapp or checkboxes/avkrysningsboks
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
In Altinn Studio there is a preview of the form as you define it. When you drag a radiobutton onto a page you get a warning box because you are missing a data binding. But after you have added the data binding, the component **disappears** in the preview. This happens when it is still missing an option list. There is no warning/error box in the preview to indicate what the reason is for the sudden disappearance of the component. It would be a good thing to have.
### Additional Information
[Relevant slack thread](https://altinn.slack.com/archives/C02EJ9HKQA3/p1728900018250319).
Contributor guide
Research direction
Reproduce the preview behavior by adding a radiobutton or checkbox with a data binding but no option list. Trace the preview handling for these components; done means the component remains represented with a warning or error explaining that its option list is missing.
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
- Mostly clear
- Newbie friendliness
- 45/100