From 374e9fb05f2cc5d33bb9414233ba61547b8bafbc Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 21 Nov 2024 13:59:29 +0100 Subject: [PATCH 1/4] fix: edit attribute modal safari --- .../attributes/edit.svelte | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/edit.svelte b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/edit.svelte index dc8ffbbdd..1676df802 100644 --- a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/edit.svelte +++ b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/edit.svelte @@ -65,19 +65,19 @@ } -{#if selectedAttribute} - - -
- {option?.name} - {#if option?.type === 'relationship'} -
- Beta -
- {/if} -
-
- + + +
+ {option?.name} + {#if option?.type === 'relationship'} +
+ Beta +
+ {/if} +
+
+ + {#if selectedAttribute} {#if selectedAttribute?.type !== 'relationship'} (option = null)} /> {/if} - - - - - -
-{/if} + {/if} +
+ + + + +
From 9f6b180c853c28154288d67068296a8c9e876753 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 21 Nov 2024 14:34:46 +0100 Subject: [PATCH 2/4] fix: race conditions on safari for autofocus --- src/lib/elements/forms/inputText.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/elements/forms/inputText.svelte b/src/lib/elements/forms/inputText.svelte index 0da7f7b38..2c69fa8e4 100644 --- a/src/lib/elements/forms/inputText.svelte +++ b/src/lib/elements/forms/inputText.svelte @@ -1,5 +1,5 @@