Skip to content

Commit

Permalink
Use onRunQuery instead of onBlur
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
marcusolsson committed Jan 5, 2021
1 parent b7cefd7 commit 29a5814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/JsonPathQueryField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const JsonPathQueryField: React.FC<Props> = ({ query, onBlur, onChange })
<QueryField
additionalPlugins={plugins}
query={query}
onBlur={onBlur}
onRunQuery={onBlur}
onChange={onChange}
portalOrigin="jsonapi"
placeholder="$.items[*].name"
Expand Down

0 comments on commit 29a5814

Please sign in to comment.