bcgov / bcgov/alcs

ALCS Document & Decision Document form reset bug

Open
#2,265 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
10
Forks
0
Avg merge
20h 8m
Merged PRs (30d)
30

Description

**Jira Ticket**: ALCS-2165

Select document name in upload modal and hit enter > resets form

AR: When I want to edit a document that i have added on ALCS, and when I have selected the document name field and hit enter, the form gets reset.

AR: Same thing happens on decision document modal, if i hit enter it clears the form. But it gets a bit worse since I can't upload file after that. I have to close the modal and open again

ER: Attempt to save data, run validation and if user hasn't filled out all the fields, then show error states.

**Last Updated**: 2026-04-09

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reset after pressing Enter in the ALCS document upload and decision document modals, then trace their form submission and validation handling. Done means Enter attempts to save, validation errors appear for incomplete fields, and the form and upload flow remain usable without reopening the modal.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
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.