Skip to content

Feat search empty query#359

Open
bnjjj wants to merge 9 commits into
edcarroll:masterfrom
bnjjj:feat_search_empty_query
Open

Feat search empty query#359
bnjjj wants to merge 9 commits into
edcarroll:masterfrom
bnjjj:feat_search_empty_query

Conversation

@bnjjj
Copy link
Copy Markdown

@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.

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