mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
js bug
This commit is contained in:
parent
08a3ba5378
commit
a9c91bc94a
1 changed files with 1 additions and 1 deletions
|
@ -1838,7 +1838,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
let editableFormGroup = button.parentElement.parentElement.parentElement;
|
let editableFormGroup = button.parentElement.parentElement.parentElement;
|
||||||
if (editableFormGroup){
|
if (editableFormGroup){
|
||||||
let readonlyField = editableFormGroup.querySelector(".input-with-edit-button__readonly-field")
|
let readonlyField = editableFormGroup.querySelector(".input-with-edit-button__readonly-field")
|
||||||
let inputField = document.getElementById(`id_${fieldName}`).value;
|
let inputField = document.getElementById(`id_${fieldName}`);
|
||||||
if (!inputField) {
|
if (!inputField) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue