diff --git a/web/src/lib/components/elements/date-input.svelte b/web/src/lib/components/elements/date-input.svelte index 1f621b2464..ccd405c934 100644 --- a/web/src/lib/components/elements/date-input.svelte +++ b/web/src/lib/components/elements/date-input.svelte @@ -17,4 +17,9 @@ {value} on:input={(e) => (updatedValue = e.currentTarget.value)} on:blur={() => (value = updatedValue)} + on:keydown={(e) => { + if (e.key === 'Enter') { + value = updatedValue; + } + }} />