1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00

fix(web): emit updated date when pressing enter (#9640)

This commit is contained in:
Lukas 2024-05-21 18:58:57 +02:00 committed by GitHub
parent a3489d604b
commit 61b850f0ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}}
/>