+ Start a Discussion
Base Line 7Base Line 7 

how to filter the collection used in aura:iteration

I would like to have a filtered version of a collection as the source data of an aura iteration. Basically, something like this:
<aura:iteration items="{! v.myList.filter(element => ....) }" var="item">
Is this possible and if not, what can I do to achieve the same? Any advice is much appreciated. Thanks.
Rounak SharmaRounak Sharma
hello ,
Please refer the below link
https://salesforce.stackexchange.com/questions/279832/how-to-filter-the-collection-used-in-auraiteration

Please let me know if it helps
Thanks