Skip to content

[Fix]: #1849 errors / optimizations #1886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Fix]: #1849 key error
  • Loading branch information
iamfaran committed Jul 21, 2025
commit a6eb2a92bff2f8278aebdf64ed59098846fa0ac9
4 changes: 3 additions & 1 deletion client/packages/lowcoder/src/comps/controls/codeControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export function codeControl<
const cardContent = params.disableCard
? ""
: getCardContent(this.unevaledValue, this.valueAndMsg, codeControlParams);
const { key, ...restParams } = params;
return (
<EditorContext.Consumer>
{(editorState) => (
Expand All @@ -197,7 +198,8 @@ export function codeControl<
<>
<Suspense fallback={null}>
<CodeEditor
{...params}
key={key}
{...restParams}
bordered
value={this.unevaledValue}
codeType={codeType}
Expand Down