I'm currently working with a complex nested JSON Array and I need to filter it (based on the name property) according to what the user enters in an input tag, displaying the results as an autocomplete. I've started developing a basic version of this on Stackblitz - check out the code here. There are two entries for the name "Tom" in two separate objects, so when a user types "Tom", it should appear twice in the autocomplete instead of just once. Ideally, when the user types the letter "T", all names starting with "T" should be displayed. For example, typing "To" should show "Tom" twice, while typing just "T" should display "Tiffany" and "Tom" both 2 times. Can anyone provide some guidance on how to achieve this in the code? Your assistance is greatly appreciated. Thank you!