You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just been working on a template, and came across an issue where the following code didn't update the associated model:
<input type="checkbox" ng-repeat="term in terms"
checklist-model="vmc.model.filters"
checklist-value="term.slug">
I then found that placing the checkbox inside the ng-repeat solved the problem.
<span ng-repeat="term in terms">
<input type="checkbox" checklist-model="vmc.model.filters" checklist-value="term.slug">
</span>
In terms of reducing the number of elements on the page, it would be great if ng-repeat could be used on the same element, but for anyone else coming across this problem I wanted to help them out.
The text was updated successfully, but these errors were encountered:
I've just been working on a template, and came across an issue where the following code didn't update the associated model:
I then found that placing the checkbox inside the ng-repeat solved the problem.
In terms of reducing the number of elements on the page, it would be great if ng-repeat could be used on the same element, but for anyone else coming across this problem I wanted to help them out.
The text was updated successfully, but these errors were encountered: