Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat search empty query #359

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bnjjj
Copy link

@bnjjj bnjjj commented Mar 20, 2018

This pull request add the ability to display instantly a list even if there aren't any query (with the allowEmptyQuery option) and another option named resetQueryOnChange to not reset the query when the options list changed.

It's very useful for my use-case which is to have a search bar with recent elements displayed when no query is indicated and when we write a query it change the options list to display all the items available.

Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
@edcarroll
Copy link
Owner

Hey, thank you for the PR! Something has gone wrong though, it's including lots of locale files that shouldn't be there - could you check that out please?

Could you also write a line about what exactly this PR is setting out to achieve, and why?

Thanks!

@bnjjj
Copy link
Author

bnjjj commented Mar 21, 2018

sorry @edcarroll for the bad formatted PR. It's better now :)
LINKED TO ovh/cds#2421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants