0
<div ng-repeat="post in posts | filter:{components:component} | filter:{classification:class}:true">
<ul>
<div class="selected-{{'{{charter.selected}}'}}" ng-hide="post.charters.length <= 0" ng-repeat="charter in post.charters">
<input type="checkbox" ng-model="charter.selected" ng-change="addSelectedCharters(post, charter)">
{{'{{charter}}'}}
</div>
</ul>
</div>
When I filter, all checkboxes that were previously checked are no longer. How can I resolve them? Thanks!
I appreciate your tip, but actually it’s the charters that have the checkbox each and not the post. Each post contains several charters. I want to select several charters, and when filter keep the charters of the other posts still selected, even if they do not appear after filtering. Did you understand better? Thank you very much!
– Antonio Braz Finizola