Add back id

This commit is contained in:
zandercymatics 2024-01-26 15:02:52 -07:00
parent 3d7c651c72
commit 8b6d2ea2c7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 5 additions and 8 deletions

View file

@ -245,13 +245,10 @@ function handleValidationClick(e) {
const alternateDomainsInputs = document.querySelectorAll('[auto-validate]');
if (alternateDomainsInputs) {
for (const domainInput of alternateDomainsInputs){
// Only apply this logic to alternate domains input
if (domainInput.classList.contains('alternate-domain-input')){
domainInput.addEventListener('input', function() {
removeFormErrors(domainInput, true);
}
);
}
domainInput.addEventListener('input', function() {
removeFormErrors(domainInput, true);
}
);
}
}
})();

View file

@ -79,7 +79,7 @@
{% endwith %}
{% endwith %}
<button type="submit" name="submit_button" value="save" class="usa-button usa-button--unstyled">
<button id="check-availability-button" type="submit" name="submit_button" value="save" class="usa-button usa-button--unstyled">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
</svg><span class="margin-left-05">Add another alternative</span>