Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message not working on date fieldsets with out required flag #1737

Closed
diegocob opened this issue Aug 28, 2024 · 1 comment · Fixed by #1746
Closed

Error message not working on date fieldsets with out required flag #1737

diegocob opened this issue Aug 28, 2024 · 1 comment · Fixed by #1746
Assignees
Labels
bug Something isn't working
Milestone

Comments

@diegocob
Copy link
Collaborator

What's expected

While testing the all-benefits form in Prod, I noticed that when entering an incorrect year 234 the error message did not come up. Is this bc the question is not required?

What happened

As a user, error message should come up if I enter an incorrect year.

Image

How to replicate

There should be an error message when I enter the wrong year on DOB or DOD (that is not a required question) in the all-benefits form.

@diegocob diegocob added the bug Something isn't working label Aug 28, 2024
@scottqueen-bixal scottqueen-bixal changed the title Error message not working on all-benefits Error message not working on date fieldsets with out required flag Aug 29, 2024
@scottqueen-bixal
Copy link
Collaborator

Getting the validation requirement removed is a low level of effort, but we don't currently have a way to clear an assignment of value to month once it is selected.

Here is a use case

As a user, when I provide invalid values to inputs, I should be able to clear alerts by removing values for those fieldsets and proceed if they are not required

Because we want to alert users to invalid date inputs even when they are not required means we need to be able to "clear" the answers, for radios, selects, and inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants