This commit is contained in:
zandercymatics 2024-07-03 12:13:38 -06:00
parent 08a3ba5378
commit a9c91bc94a
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -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;
}