Altinn / Altinn/app-frontend-react

Disable “Go to Form” button after submission deadline

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

Description

### Description

Currently, users are still able to open forms from their Altinn inbox even after the `dueBefore` deadline for submission has passed.

It would be useful to add logic that disables (or removes) the “Go to form”/"Gå til skjemautfylling" button once the submission deadline has expired.

Allowing users to start filling out a form that can no longer be submitted does not provide a meaningful user experience and may cause confusion.

### Additional Information

**Suggested behavior:**
If the current date is later than the dueBefore property, the “Go to form” button should be disabled.

Image

Contributor guide

Open the contributing guide

Research direction

Start by locating the inbox implementation that renders the “Go to Form”/“Gå til skjemautfylling” button and tracing how the dueBefore property is exposed to it. Verify the behavior around an expired deadline, then run the relevant frontend tests; done means users cannot open the form after dueBefore has passed.

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
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.