Skip to content

Commit

Permalink
[ML] Stops new line on enter key press for KQL query bars (#90960)
Browse files Browse the repository at this point in the history
  • Loading branch information
peteharverson committed Feb 10, 2021
1 parent c058d9b commit 4881306
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const ExplorationQueryBar: FC<ExplorationQueryBarProps> = ({
<EuiFlexGroup alignItems="center">
<EuiFlexItem>
<QueryStringInput
bubbleSubmitEvent={true}
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const SearchPanel: FC<Props> = ({
closePopover={() => setErrorMessage(undefined)}
input={
<QueryStringInput
bubbleSubmitEvent={true}
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const ExplorerQueryBar: FC<ExplorerQueryBarProps> = ({
closePopover={() => setErrorMessage(undefined)}
input={
<QueryStringInput
bubbleSubmitEvent
bubbleSubmitEvent={false}
query={searchInput}
indexPatterns={[indexPattern]}
onChange={searchChangeHandler}
Expand Down

0 comments on commit 4881306

Please sign in to comment.