diff --git a/esp/src/src-react/components/forms/Fields.tsx b/esp/src/src-react/components/forms/Fields.tsx index 9f394b0aacc..54bffdaf2a6 100644 --- a/esp/src/src-react/components/forms/Fields.tsx +++ b/esp/src/src-react/components/forms/Fields.tsx @@ -902,6 +902,7 @@ export function createInputs(fields: Fields, onChange?: (id: string, newValue: a label: field.label, field: }); + const el = document.querySelector(`.ms-Modal.is-open #${fieldID}`); + if (el && field.value === "") { + el["value"] = field.value; + } break; case "link": field.href = field.href;