From 91677eb7dadb272389f8a84da5916dc500d92d43 Mon Sep 17 00:00:00 2001 From: JYC333 <22962980+JYC333@users.noreply.github.com> Date: Mon, 9 Mar 2026 10:08:02 +0000 Subject: [PATCH] refactor: limit ctrl+enter action only at when creating reation on relation map --- apps/client/src/widgets/dialogs/prompt.tsx | 5 +++-- .../src/widgets/type_widgets/relation_map/RelationMap.tsx | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/dialogs/prompt.tsx b/apps/client/src/widgets/dialogs/prompt.tsx index 0a37d0e643..78741641ae 100644 --- a/apps/client/src/widgets/dialogs/prompt.tsx +++ b/apps/client/src/widgets/dialogs/prompt.tsx @@ -24,6 +24,7 @@ export interface PromptDialogOptions { shown?: PromptShownDialogCallback; callback?: (value: string | null) => void; readOnly?: boolean; + submitWithCtrlEnter?: boolean; } export default function PromptDialog() { @@ -69,7 +70,7 @@ export default function PromptDialog() { submitValue.current = null; opts.current = undefined; }} - footer={