Skip to content

Feat search empty query #359

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

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.

bnjjj added 8 commits March 20, 2018 10:35
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
@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!

Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
@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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy