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
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
If I get values from array (or promise) the dirty flag is set on initialization.
Ej:
<optionng-repeat="item in array"value="{{item.id}}">{{item.name}}</option>
I solved this by checking if array changed on watch:
// Watch the options dataset for changesif(watch){scope.$watch(watch,function(newVal,oldVal,scope){if(!newVal)return;// Check if changed ...if(newVal==oldVal)return;
....}
The text was updated successfully, but these errors were encountered:
If I get values from array (or promise) the dirty flag is set on initialization.
Ej:
I solved this by checking if array changed on watch:
The text was updated successfully, but these errors were encountered: