mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +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;
|
||||
if (editableFormGroup){
|
||||
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) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue