Prevent submitting when non-CSV file selected on front-end
What does this MR do and why?
Prevent form submission without a valid CSV file
-
Added validation to ensure the submit button won't trigger form submission until a correct CSV file is selected.
-
Reused existing Dropzone error messages for consistency.
-
Had to manually control modal closing and update test cases accordingly.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
To validate locally:
- Import a group via Direct Transfer
- Navigate to the newly imported group
- Go to Group Members
- Select Placeholders tab
- Click on Reassign with CSV File
Screen Recording 2025-03-13 at 17.27.48.mov
Related to