DEV Community

Discussion on: Creating a Search Filter in Angular

Collapse
 
guhuojin profile image
guhuojin

I tried but it complains appFilter cannot be found. What I am missing?

Collapse
 
idrisrampurawala profile image
Idris Rampurawala

Hi,

Thanks for following the post. To resolve your issue, could you please either paste the error screenshot here or better if you could create the issue over stackblitz.
This would help to quickly address and resolve your issues ☺️

Collapse
 
guhuojin profile image
guhuojin

I am using this FilterPipe in a sub-component. It turns out in my setting, this customized pipe needs to be referenced in the root module. Now it is working. This is very helpful, thank you!

Thread Thread
 
idrisrampurawala profile image
Idris Rampurawala

Glad that you were able to solve the issue πŸ˜‹

Also, please show some love to this post if you liked it by hitting ❀️ or πŸ¦„ if you haven't already done it 😁