ng-select Filtering Internals!

jwp

John Peters

Posted on May 26, 2020

ng-select Filtering Internals!

Sometimes, we as developers loose a lot of time because we don't know the internals of the components we are using and the documentation is very poor.

So we just have to dig in and figure it out.

NG-Select

This is the StackOverFlow question and answer I created on ng-select internals related to filtering the infamous 'no items found' message when typing in letters in the dropdown list.

I believe this was a challenge due to the fact our list was not a simple string list, it was an object with many properties...

This is how it was solved.

dropsown

I have a ng-select component whose drop-down items look like this image above.

In an attempt to filter the list, I type in characters into the input control and see this: "No Items Found" despite the fact they are in the list.

enter image description here

Here's what I've done to try to figure…

Jwp2020

💖 💪 🙅 🚩
jwp
John Peters

Posted on May 26, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ng-select Filtering Internals!
ngselect ng-select Filtering Internals!

May 26, 2020