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
For some strange reason, when filtering an item on ng-repeat (if one item found) the whole array becomes that "found item" and $rootScope.keyWordsLists.splice(index, 1); takes the index of 0, when actually it's not.
For some strange reason, when filtering an item on
ng-repeat
(if one item found) the whole array becomes that "found item" and$rootScope.keyWordsLists.splice(index, 1);
takes the index of 0, when actually it's not.Write this instead:
Basically index in this case doesnt help.
@besnik81
Any suggestions ?
References
The text was updated successfully, but these errors were encountered: