Fix Angular error: ngRepeat:dupes Duplicate Key in Repeater

Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: thing in mynotes, Duplicate key: string:xxxxx, Duplicate value: xxxxx
Um exemplo aplicado no Ionic com uma estrutura de repetição ng-repeat você pode adicionar track by $index <ion-item ng-repeat="thing in mynotes track by $index"> {{thing}} <ion-option-button style="width:200px;background:#ff0000;" class="button-assertive ion-trash-b" ng-click="remove(thing)"></ion-option-button> </ion-item>

Entre em contato

Sua opinião é muito importante para nós.

Endereço

Rua Helena, 280
8º andar

Whatsapp

99975-1271

Instagram

@bhei

CRECI: 16963J

Precisando de ajuda ?