I hava a dynamic list and each list item got a checkbox. On top of that I have a search bar. When I check some items and then write something to the searchbar and the items do not fit to the search string then they dissappear as intended. But if I remove the search string, the items appear again but the checkboxes of these items are not checked anymore. So I guess I have to store the values of the checkboxes. My idea was to do it with ngModel, but how does it work inside of a ngFor loop?
I hope someone can help me with it