Skip to content

Commit 6316d63

Browse files
davkaltorkelo
authored andcommitted
Explore: Apply tab completion suggestion on Enter (grafana#12904)
- if the suggestions menu is open, apply the selected item on Enter - if not open, run the queries
1 parent 72efd73 commit 6316d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/containers/Explore/QueryField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class QueryField extends React.Component<TypeaheadFieldProps, TypeaheadFieldStat
331331
}
332332
break;
333333
}
334-
334+
case 'Enter':
335335
case 'Tab': {
336336
if (this.menuEl) {
337337
// Dont blur input

0 commit comments

Comments
 (0)