Altinn / Altinn/app-frontend-react

Custom error message for attachment validation in FileUploadWithTag

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

Description

### Description

Provide the ability to customize the error message when the edit window is open but the user hasn't selected a tag or clicked on save before proceeding to the next step. This functionality can be implemented in the EditWindowComponent file.

https://altinn.slack.com/archives/C02FK32SFA4/p1691396971192909

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading EditWindowComponent and tracing how FileUploadWithTag reports validation when no tag is selected or the user proceeds without saving. Determine the existing error-message path and how customization is configured. Done means the attachment validation message can be customized and the default behavior remains covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.