"where" formatter

Wappler Version : 2.5.1
Operating System : Mac OSX Mojave v10.14.5

Archive.zip (2.5 KB)

Details

I’m trying to sum the salaries of 2019 & 2020 from the child repeat to display the same in the parent row.

I’m getting javascript errors in my console, below is my expression. Wondering if this is a bug with the “where” formatter.

child.items.where("year","==","2019").sum("salary").default(0)

Please correct me if I have to fix my expression. Thanks in advance.

Community Page
Last updated: