I have a problem and I want to limit the number of letters that a property of an object represents using limitTo
, I get an error
Error: Uncaught (in promise): Error: Template parse errors: The pipe 'limitTo' could not be found ("click)=" openCart () ">
{{[ERROR - >] producto.description | limitTo: 50}}
Html
<p class=" description">{{ producto.description | limitTo: 50 }}</p>
js
productos.description ="Product Description este
es mi texto describiendo las caracteristicas completas del
articulo, tales como: peso, tamaño, color, etc.";
See documentation - > link