Option to not clear RefinementList search query after selection #5276
Unanswered
mattbriancon
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you want to request a feature or report a bug?
Feature.
Feature: What is your use case for such a feature?
Our users often want to select several refinements after searching the refinement list.
Example:
wal
a. Walmart A
b. Walmart B
c. Wally World
Walmart A
andWalmart B
. User clicks checkbox next toWalmart A
.Walmart A
selected and search query cleared.Walmart B
The current, unconfigurable behavior of selecting an item from the refinement list resets the search query and re-renders the list, leaving the user no choice but to search and select multiple times.
What is your proposed API entry? The new option to add? What is the behavior?
A new prop for
RefinementList
resetOnSelection
(default:true
) could control the behavior post-selection but I'm open to whatever prop name you think is best.What is the version you are using?
5.1.0
Beta Was this translation helpful? Give feedback.
All reactions