Altinn / Altinn/app-frontend-react

Pre-chosen radiobutton does not trigger dynamics

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

Description

## Describe the bug
When instantiating an app with pre-chosen radiobutton that is supposed to trigger a dynamic, the dynamic is not present.

## To Reproduce
Steps to reproduce the behavior:
1. Go to an app with pre-chosen radiobutton as dynamic to show some field
2. See error

## Expected behavior
Expect that the dynamic is already done when instantiating an app.

## Screenshots
https://streamable.com/exo1xn

## Additional info
> Add any other relevant context info about the problem here.
> For example OS (Windows, MacOS, iOS), browser (Chrome, Firefox, Safari), device (iPhone, laptop), screen-size, etc.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reproducing the pre-selected radiobutton case and trace the dynamic-field initialization path; done means the dynamic is present immediately when the app is instantiated, with a regression test if the repository provides one.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.