johnpapa / johnpapa/angular-first-look-examples

Using the Filter Service with a Nested Array

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
85
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Hey - first off thank you for this repo and the videos on pluralsight; both have been a tremendous help! I'm not sure if this where we can shoot you questions so forgive me if this is the wrong forum. So this a little outside the scope of your example, but I was wondering if you can help me expand your filter service to search through a nested json.

For instance take this scenario - Each character has one or more vehicles and our character table is slightly more complex with a nested ngFor to show the vehicles per character. How would you expand the filter service to also check the the vehicles array ?

This is the scenario I'm struggling with in my project at the moment and have been chasing my tail trying to figure it out haha. It's probably something simple but I can't seem to get it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.