We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d3f605 commit c4bdb2eCopy full SHA for c4bdb2e
web/src/components/toolbar/filters/autocomplete-filter.tsx
@@ -185,7 +185,12 @@ export const AutocompleteFilter: React.FC<AutocompleteFilterProps> = ({
185
validated={indicator}
186
placeholder={filterDefinition.placeholder}
187
value={currentValue}
188
- onKeyDown={e => e.key === 'Enter' && onEnter()}
+ onKeyDown={e => {
189
+ if (e.key === 'Enter') {
190
+ onEnter();
191
+ e.preventDefault();
192
+ }
193
+ }}
194
onChange={(event, value) => onAutoCompleteChange(value)}
195
onBlur={onBlur}
196
ref={searchInputRef}
0 commit comments