ng2-semantic-ui icon indicating copy to clipboard operation
ng2-semantic-ui copied to clipboard

Feat search empty query

Open bnjjj opened this issue 7 years ago • 2 comments

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 avatar Mar 20 '18 16:03 bnjjj

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!

edcarroll avatar Mar 20 '18 20:03 edcarroll

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

bnjjj avatar Mar 21 '18 08:03 bnjjj