K
K
Konstantin2017-04-07 13:40:58
Angular
Konstantin, 2017-04-07 13:40:58

Why doesn't angular and framwork7 work as it should?

I do a swipe when deleting entries
plnkr.co/edit/WoUIe0?p=preview
there is a list and an array below.
Duck, when you delete the first one, for some reason, the second one is deleted. and in the array it remains,
I think this is a fw7 cant, but I just can’t understand why and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ozknemoy, 2017-04-07
@ozknemoy

strange behavior. if you change 1 to 0 in $scope.histories.splice(i, 0); then it starts working properly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question