You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a Summary2 component on a page "C", and you press the Edit-button to come back to page "B" to change the element, you risk "getting stuck" in the form. From page "B" there is a button "Back to summary" ("Tilbake til sammendrag") that brings you back to page "C". The problem occurs when a change on page "B" causes page "C" to be hidden. The "Back to summary"-button does not work, because there is no page to go back to. There isn't a "Next"-button on page "B" either, so the only way to continue filling out the form is by pushing the "Previous"-button, and then navigate forward again by pressing the "Next"-button from a previous page "A".
This situation will occur if you f.ex. have a radiobutton-question on page B that causes page C to be hidden.
I would have expected that the "Back to summary"-button would be hidden (or the functionality and text changed) and replaced with a "Next"-button, when the page you came from is hidden.
Steps To Reproduce
Create a summary2-component on a page that will be hidden if you change the element shown the summary
Press the "Edit"-button
Change the answer so the page with the summary-component is "hidden"
Description of the bug
If you have a Summary2 component on a page "C", and you press the Edit-button to come back to page "B" to change the element, you risk "getting stuck" in the form. From page "B" there is a button "Back to summary" ("Tilbake til sammendrag") that brings you back to page "C". The problem occurs when a change on page "B" causes page "C" to be hidden. The "Back to summary"-button does not work, because there is no page to go back to. There isn't a "Next"-button on page "B" either, so the only way to continue filling out the form is by pushing the "Previous"-button, and then navigate forward again by pressing the "Next"-button from a previous page "A".
This situation will occur if you f.ex. have a radiobutton-question on page B that causes page C to be hidden.
I would have expected that the "Back to summary"-button would be hidden (or the functionality and text changed) and replaced with a "Next"-button, when the page you came from is hidden.
Steps To Reproduce
Additional Information
Connected to the discussion in this thread: https://altinn.slack.com/archives/C02EJ9HKQA3/p1734603772652409
The text was updated successfully, but these errors were encountered: