Wappler Version : 2.5.1
Operating System : Mac OSX Mojave v10.14.5
Dear all,
I have attached the page & the server action file (uses public api sample data) for the below bug report.
Archive.zip (2.5 KB)
Details
I have a server-connect data (myJSON) that has two-level of parent-child data (department & employees) and is rendered using parent-child repeats (screenshot below).
Structure: {department: {name, employee: {name, year, salary} } }
I have two variables on employee-level that holds the salaries of 2019 & 2020 for each employee. And this is used on department-level to show the total salary of the respective years using this formula:
"var_total_salary_2019" = "child.items.sum("var_2019_salary.value").default(0)"
This works perfectly when loading the page… until… I have button when clicked, reloads the my server-connect with amended data. When reloaded, looks like everything is broken in the repeats.
When I look at the dmx.app.data after reload:
- I see that only the parent-level repeat has loaded only the data
- The two variables on parent-level repeat hasn’t loaded (not visible)
- Child-level repeats and the two variables within it hasn’t loaded (not visible)
.
I assume this is a bug as it’s logically not working to my eyes. Any help would be greatly appreciated, have been a great blocker. Thanks in advance.
Last updated: