Skip to content
Snippets Groups Projects
Unverified Commit dff9911a authored by Michael Clark's avatar Michael Clark Committed by GitHub
Browse files

[Fix] "Enter" key should save on "Cover Overspending" popup (#3153)

* allow autocomplete events to fire when dropdown is closed

* release notes

* simpler solution

* release notes
parent 3d5818f0
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,7 @@ export function CoverMenu({
onSelect={(id: string | undefined) => setCategoryId(id || null)}
inputProps={{
inputRef: node,
onKeyDown: e => {
if (e.key === 'Enter') {
submit();
}
},
onEnter: event => !event.defaultPrevented && submit(),
placeholder: '(none)',
}}
showHiddenCategories={false}
......
---
category: Bugfix
authors: [MikesGlitch]
---
Fix the "Enter" shortcut not saving on "Cover Overspending" popup
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment