mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Add back id
This commit is contained in:
parent
3d7c651c72
commit
8b6d2ea2c7
2 changed files with 5 additions and 8 deletions
|
@ -245,13 +245,10 @@ function handleValidationClick(e) {
|
||||||
const alternateDomainsInputs = document.querySelectorAll('[auto-validate]');
|
const alternateDomainsInputs = document.querySelectorAll('[auto-validate]');
|
||||||
if (alternateDomainsInputs) {
|
if (alternateDomainsInputs) {
|
||||||
for (const domainInput of alternateDomainsInputs){
|
for (const domainInput of alternateDomainsInputs){
|
||||||
// Only apply this logic to alternate domains input
|
domainInput.addEventListener('input', function() {
|
||||||
if (domainInput.classList.contains('alternate-domain-input')){
|
removeFormErrors(domainInput, true);
|
||||||
domainInput.addEventListener('input', function() {
|
}
|
||||||
removeFormErrors(domainInput, true);
|
);
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% 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">
|
<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>
|
<use xlink:href="{%static 'img/sprite.svg'%}#add_circle"></use>
|
||||||
</svg><span class="margin-left-05">Add another alternative</span>
|
</svg><span class="margin-left-05">Add another alternative</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue