eAPD
eAPD copied to clipboard
[Bug] Other State Expense validation triggering on Cancel
Description
When opening an other state expense subform, the category field is automatically focused. This results in having the validation trigger when trying to click Cancel. Meaning to actually close the subform (right after creating it) you have to click the Cancel button twice.
Steps to reproduce
- Navigate to State staff and Expenses
- Create a new other state expense subform
- Try to immediately close the form by clicking Cancel
- Verify that the validation triggers on the Category field
Expected results- Subform should close
Actual results- Validation triggers on the category field
Role Affected
- [ ] All
- [ ] Federal Admin
- [x] State Admin
- [x] State Staff
- [x] State Contractor
- [ ] System Admin
Environment
- [ ] All
- [ ] PR #____
- [x] Staging
- [ ] Production
Browser
- [ ] All
- [x] Firefox
- [x] Chrome
- [x] IE
Cypress test created OR Ticket for cypress test created-
Related user story/bug- (if applicable)
Additional information- (optional)
Logs or error output/Screenshot/Video- (at least 1 of these)