diff --git a/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js b/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js index c2f1f0504..da54525db 100644 --- a/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js +++ b/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js @@ -593,7 +593,7 @@ function CustomScriptForm({ item, handleSubmit, viewOnly }) { lsize={2} rsize={10} formik={formik} - value={item.script} + value={formik.values.script} readOnly={viewOnly} required />