Validate application while the applicant is typing
- Dominant language
- Clojure
- Stars
- 66
- Forks
- 28
- Avg merge
- 7d 4h
- Merged PRs (30d)
- 2
Description
(split out from #2611)
As an applicant, it would be nice to see validation errors for the application (e.g. "invalid email", "input too long") even before pressing "save draft".
Consider running our form validations in the frontend and showing the errors to the applicant. Could hook to focus leaving an input field, or perhaps use a debounce.
- [ ] Create a prototype that runs the existing form validation in the frontend when focus leaves a field. Use the existing UI components for validation errors etc.
See https://github.com/CSCfi/rems/blob/master/docs/architecture/017-applicant-ux.md
Contributor guide
Research direction
Read docs/architecture/017-applicant-ux.md first, then locate the existing form validations and UI components used for validation errors. Prototype running the existing validation when focus leaves a field, and verify that the applicant sees errors before saving a draft.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100