diff --git a/web/src/lib/components/shared-components/change-date.svelte b/web/src/lib/components/shared-components/change-date.svelte
index e87f77ae52..0e53f0b261 100644
--- a/web/src/lib/components/shared-components/change-date.svelte
+++ b/web/src/lib/components/shared-components/change-date.svelte
@@ -53,43 +53,35 @@
dispatch('confirm', value);
}
};
-
- const handleKeydown = (event: KeyboardEvent) => {
- if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {
- event.stopPropagation();
- }
- };
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/web/src/lib/components/shared-components/full-screen-modal.svelte b/web/src/lib/components/shared-components/full-screen-modal.svelte
index a35a544d5b..176255ad09 100644
--- a/web/src/lib/components/shared-components/full-screen-modal.svelte
+++ b/web/src/lib/components/shared-components/full-screen-modal.svelte
@@ -45,6 +45,7 @@
{
return false;
}
const type = (event.target as HTMLInputElement).type;
- return ['textarea', 'text'].includes(type);
+ return ['textarea', 'text', 'date', 'datetime-local'].includes(type);
};
export const matchesShortcut = (event: KeyboardEvent, shortcut: Shortcut) => {