Open timdhondt opened 9 years ago
When we use the built-in gnap-timepicker and use a function or custom-filter in the time-attribute, we receive the $digest iteration error.
HTML:
<div ng-repeat="activity in vm.activities"> <span gnap-timepicker class="time-picker" time="activity.startTime | secondsToDate"></span> </div>
Filter:
function secondsToDate() { return function (seconds) { if (seconds !== undefined && seconds !== null) { return new Date(seconds * 1000); } else { return new Date(); } } }
At first, we thought we might by using to many ng-repeat's in our code, but even when we strip those, the issue still stands.
When we use the built-in gnap-timepicker and use a function or custom-filter in the time-attribute, we receive the $digest iteration error.
HTML:
Filter:
At first, we thought we might by using to many ng-repeat's in our code, but even when we strip those, the issue still stands.