angularjs-google-maps icon indicating copy to clipboard operation
angularjs-google-maps copied to clipboard

Problem of Duplicate ng-repeat items inside custom control.

Open privatejava opened this issue 7 years ago • 0 comments

IMPORTANT:

There is a bug of items being rendered multiple times when used ng-repeat. Specially this is happening because I had to do completely disable and again show the custom control on some circumstances for my application and I came up with this bug.

Steps to reproduce and a minimal demo(Plunker Example)

  • Create a custom control using tag
  • Create a select with ng-repeated option inside of custom control tag.
  • Now toggle your custom control on the basis of some scope variable.
  • https://plnkr.co/edit/Y172mOjjTBf3DJ34KExB?p=preview

Current behavior

  • Redundant

Expected/desired behavior

Other information

  • This is happening in angular 1.4.7 specially.

image

privatejava avatar May 12 '17 02:05 privatejava