diff --git a/packages/core/components/src/code-mirror/index.tsx b/packages/core/components/src/code-mirror/index.tsx index 9b4a362b8..ad84c0a28 100644 --- a/packages/core/components/src/code-mirror/index.tsx +++ b/packages/core/components/src/code-mirror/index.tsx @@ -78,10 +78,10 @@ const completionSource = (context) => { return null; }; -export const CodeMirror = connect(({ value, onChange, ...otherProps }) => { +export const CodeMirror = connect(({ value, onChange, defaultValue, ...otherProps }) => { return (