From c232bc1d5996bff33f69290d5cf87a8ecf7f08dc Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Tue, 10 Aug 2021 10:23:13 +0200 Subject: [PATCH] fix Dialog (form) submit behaviour on Enter Signed-off-by: Andrey Platov --- packages/ui/src/components/Dialog.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/components/Dialog.svelte b/packages/ui/src/components/Dialog.svelte index 7c9e2455b0..846d6cceee 100644 --- a/packages/ui/src/components/Dialog.svelte +++ b/packages/ui/src/components/Dialog.svelte @@ -32,7 +32,7 @@
-
+ { okAction(); dispatch('close') }}>
{ dispatch('close') }}>
@@ -41,8 +41,8 @@