We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Shift
Enter
1 parent 5b4f3c4 commit 04d504aCopy full SHA for 04d504a
1 file changed
packages/ui/src/components/auto-complete/AutoComplete.tsx
@@ -231,7 +231,7 @@ function AutoComplete<T extends DAutoCompleteItem>(
231
onKeyDown: (e) => {
232
el.props.onKeyDown?.(e);
233
234
- if (e.code === 'Enter' && visible && focusItem) {
+ if (e.code === 'Enter' && !e.shiftKey && visible && focusItem) {
235
changeVisible(false);
236
onItemClick?.(focusItem.value, focusItem);
237
}
0 commit comments