Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

188
Vistas
ng-repeat do not work on arrays of length > 23

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)">
      &times; 
    </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.)

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda