Angular ng-repeat Error “Duplicates in a repeater are not allowed.”

后端 未结 10 2659
青春惊慌失措
青春惊慌失措 2020-11-22 06:11

I am defining a custom filter like so:

10条回答
  •  时光说笑
    2020-11-22 06:26

    Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: sdetail in mydt, Duplicate key: string: , Duplicate value:

    I faced this error because i had written wrong database name in my php api part......

    So this error may also occurs when you are fetching the data from database base, whose name is written incorrect by you.

提交回复
热议问题