instantsearch
instantsearch copied to clipboard
[refinementList] New option to keep current search after click
Do you want to request a feature or report a bug? feature
Feature: What is your use case for such a feature?
- I want to select many results that start the same
- I have to write them each time because the search is cleared
Feature: What is your proposed API entry? The new option to add? What is the behavior? Add an option to keep the search after a click
What is the version you are using? Always use the latest one before opening a bug issue. 2.2
Thanks @cmalard for this feature proposal. From what I understand, being able to select multiple using a single search of facet values would make sense. Do you have time to dig in the code and contribute a PR for this new feature?
Not for now, but as soon as it is available I will use it ! :-)
Ok good to know. Thanks :)
Btw @mthuret you might be interested in that :)
@bobylito thanks for notifying me! Indeed I think that would be a great addition to our widgets having search for facets.
Hi All! In addition to seconding the request of @cmalard, here's a related use case. Feel free to disregard this if you don't think others would benefit.
-
Example: search "insignia" in the facet search box at https://codesandbox.io/s/5yr601pk2p
Per the feature request above, we'd be able to click on each of the three facets without having to search again.
- Add-on feature requests:
-
would adding a mechanism to select all of the facet search results be possible? In the example above, that would mean selecting all three facets matching "insignia" without having to click three times. I ask because my facet data has a very long tail of data that has not been standardized (i.e. many relevant results per likely facet search term).
-
would providing an option to revise the behavior after a user hits
enter
be possible? right now, hittingenter
retrieves the top facet result. Maybe in some circumstances retrieving all matching results might be a better fit?
Thanks for your input, we're not going to work on that right away but I've notified the product team :)