[ML] Stops new line on enter key press for KQL query bars (#90960)

This commit is contained in:
Pete Harverson 2021-02-10 17:22:37 +00:00 committed by GitHub
parent c058d9b024
commit 4881306419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -150,7 +150,7 @@ export const ExplorationQueryBar: FC<ExplorationQueryBarProps> = ({
<EuiFlexGroup alignItems="center">
<EuiFlexItem>
<QueryStringInput
bubbleSubmitEvent={true}
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}

View file

@ -110,7 +110,7 @@ export const SearchPanel: FC<Props> = ({
closePopover={() => setErrorMessage(undefined)}
input={
<QueryStringInput
bubbleSubmitEvent={true}
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}

View file

@ -155,7 +155,7 @@ export const ExplorerQueryBar: FC<ExplorerQueryBarProps> = ({
closePopover={() => setErrorMessage(undefined)}
input={
<QueryStringInput
bubbleSubmitEvent
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}