-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feat(eligibility/form): custom validation message for index and confirm fields #2045
Commits on Apr 25, 2024
-
feat(form): set custom validation message for Eligibility Confirm fields
event listeners on the inputs and form check validity and set a custom message if the input is not valid. the custom message is defined as a data attribute on the input element.
Configuration menu - View commit details
-
Copy full SHA for 5283517 - Browse repository at this point
Copy the full SHA 5283517View commit details -
chore: remove unused error message dict
this should've been removed in #1022
Configuration menu - View commit details
-
Copy full SHA for 922673f - Browse repository at this point
Copy the full SHA 922673fView commit details -
test: add coverage of agency-specific forms
the data is such that would pass browser validation
Configuration menu - View commit details
-
Copy full SHA for a31da91 - Browse repository at this point
Copy the full SHA a31da91View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c15d8 - Browse repository at this point
Copy the full SHA a2c15d8View commit details -
refactor: remove adding change listeners from form fields
this behavior is not included in product requirements
Configuration menu - View commit details
-
Copy full SHA for 1e5f7f7 - Browse repository at this point
Copy the full SHA 1e5f7f7View commit details -
refactor(form): use more reliable method of getting elements to validate
query for elements with the 'data-custom-validity' attribute instead of trying to use form fields. the eligibility index for example only has 1 field with 4 inputs.
Configuration menu - View commit details
-
Copy full SHA for a6c365d - Browse repository at this point
Copy the full SHA a6c365dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ead179b - Browse repository at this point
Copy the full SHA ead179bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1721a44 - Browse repository at this point
Copy the full SHA 1721a44View commit details -
refactor: use variable set on the form itself to enable custom validity
instead of specifying it in the template
Configuration menu - View commit details
-
Copy full SHA for ccff754 - Browse repository at this point
Copy the full SHA ccff754View commit details