From ad98b4423a41453740def8f3f3e7fcdc24cb2986 Mon Sep 17 00:00:00 2001 From: Jatin Mehta Date: Thu, 22 Sep 2022 23:02:01 +0530 Subject: [PATCH] feat(admin-ui): fix script add page --- .../plugins/admin/components/CustomScripts/CustomScriptForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js b/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js index 65f6630a4..901ff6d05 100644 --- a/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js +++ b/admin-ui/plugins/admin/components/CustomScripts/CustomScriptForm.js @@ -333,7 +333,7 @@ function CustomScriptForm({ item, scripts, handleSubmit, viewOnly }) { defaultValue={item.programmingLanguage} disabled={viewOnly} onChange={(e) => { - formik.handleChange('programmingLanguage') + formik.setFieldValue('programmingLanguage', e.target.value) setSelectedLanguage(e.target.value) }} >