fix(web): emit updated date when pressing enter (#9640)
This commit is contained in:
1 parent
a3489d604b
commit
61b850f0ce
1 file changed
+5
@@ -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;
|
||||
}
|
||||
}}
|
||||
/>
|
||||
Reference in new issue
Block a user