Hello StackOverflow people !
TLDR; Fixed, my array was containing duped elements. On my way to clean this array ! Thanks @Igor for the light !
I'm currently working on a relic of the past : Angular JS (1.6) The problem here is simple : I have some divs that need to be repeated for each elements of an Array, things works perfect until the arrays exceed a length of 23 ...
Here's the code snippet of my issue :
<h4>
<span ng-repeat="tag in editDocument.Tags | limitTo: 100" class="badge badge-pill badge-info">
<span ng-bind-html="tag"></span>
<a href="" ng-click="action_deleteTag_documentRow($event, editDocument.Id)">
×
</a>
</span>
</h4>
editDocument.Tags is populated with this array :
[
'aerials',
'aérien',
'aériens',
'fortress',
'fortresses',
'forteresse',
'forteresses',
'littoral ',
'littoraux ',
'nature ',
'natures ',
'mer ',
'sea ',
'coastline ',
'eau ',
'water',
'architectures ',
'architecture ',
'patrimoine ',
'patrimoines ',
'heritage ',
'monuments ',
'monument ',
'nature ',
'natures ',
'landscape ',
'landscapes ',
'paysage ',
'paysages',
'informative',
'visit',
'security',
'work',
'refreshment',
'Fort-Brégançon',
'opened',
'public',
'President',
'François-Hollande',
'managed',
'Presidency-of-the-Republic',
'site',
'open',
'reservation',
'Bormes-les-Mimosas',
'tourist-office',
'quotes',
'groups',
'guided-tour',
'last',
];
You can see here that I already tried to raise the limit by using the limitTo: 100
but it changes nothing.
I hope someone has a cheatcode for this. And obviously thank you for reading and brainstorming with me on this issue.
PS. : I log everytime the editDocument.Tags in order to check if the array is populated (it is.)