Answer the question
In order to leave comments, you need to log in
Why is filtering by checkbox not working in angular?
Hello, tell me why the filter in angular does not work please.
The checkbox itself is
Моторола: <input type="checkbox" ng-model="Motorola" ng-true-value='Motorola' ng-false-value=''> <br />
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 phone" ng-repeat="phone in phones | filter:filter | filter:Dell | filter:Motorola">
<img ng-src="{{phone.imageUrl}}" alt="{{phone.name}}">
<h1>{{phone.name}}</h1>
<p>{{phone.snippet}}</p>
<strong>{{phone.price}} $</strong>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question