Merge pull request #1714 from cisagov/rh/1500-cleanup

ISSUE 1500: get-gov.js clean up
This commit is contained in:
Rebecca H 2024-01-30 14:05:19 -08:00 committed by GitHub
commit a9f522d076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -219,8 +219,8 @@ function validateFormsetInputs(e, availabilityButton) {
// Run validators for each input
inputs.forEach(input => {
runValidators(input);
removeFormErrors(input, true);
runValidators(input);
});
// Set the validate-for attribute on the button with the collected input IDs

View file

@ -48,7 +48,6 @@
{% endwith %}
{% endwith %}
<button
id="check-availability-button"
type="button"
class="usa-button usa-button--outline"
validate-for="{{ forms.0.requested_domain.auto_id }}"