Skip to content

Commit 514f1b1

Browse files
committed
feat(admin-ui): edit page not save updated script field
1 parent f0da5f2 commit 514f1b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

admin-ui/app/routes/Apps/Gluu/GluuInputEditor.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ function GluuInputEditor({
1717
rsize,
1818
doc_category,
1919
}) {
20+
const handleChange = (scripts) => {
21+
formik.handleChange(name)(scripts)
22+
}
23+
2024
return (
2125
<FormGroup row>
2226
<GluuLabel
@@ -37,9 +41,7 @@ function GluuInputEditor({
3741
fontSize={16}
3842
width="95%"
3943
height="300px"
40-
onChange={() => {
41-
formik.onChange
42-
}}
44+
onChange={(e) => handleChange(e)}
4345
name={name}
4446
defaultValue={value}
4547
editorProps={{ $blockScrolling: true }}

0 commit comments

Comments
 (0)