You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Library Version: x.y.z
3.41.1 (working correctly in 3.0.0)
Describe the bug
When using the controlled behaviour of the DataSearch component to only trigger 'on enter' (as described here #994 (comment))
, query is triggered on every keypress.
To Reproduce
Steps to reproduce the behavior:
Using above codesandbox:
Type in search box, query is made on every keypress.
Expected behavior
Type in search box, query is made only after key 'enter'.
(switching library version to 3.0.0 and behaviour is as expected).
Thanks for your help and for a great library!
The text was updated successfully, but these errors were encountered:
We use a customQuery directly to an elastic endpoint. Is that possible with SearchBox? IE. connect directly to an elastic endpoint (via a local proxy). From documentation it sounds a lot more bothersome with having to use a third party service, etc. compared to DataSearch
Regarding DataSearch - It must be a quite obvious bug to fix? triggeQuery() is called on every keystroke no matter how you set it up
Affected Projects
React
Library Version: x.y.z
3.41.1 (working correctly in 3.0.0)
Describe the bug
When using the controlled behaviour of the DataSearch component to only trigger 'on enter' (as described here #994 (comment))
, query is triggered on every keypress.
To Reproduce
Steps to reproduce the behavior:
Using above codesandbox:
Type in search box, query is made on every keypress.
Expected behavior
Type in search box, query is made only after key 'enter'.
(switching library version to 3.0.0 and behaviour is as expected).
Thanks for your help and for a great library!
The text was updated successfully, but these errors were encountered: