mavoweb / mavo

Create web applications entirely by writing HTML and CSS!
https://mavo.io
MIT License
2.85k stars 176 forks source link

Custom actions performed on a nested collection don't trigger expressions recalculation #752

Open DmitrySharabin opened 3 years ago

DmitrySharabin commented 3 years ago

Reduced testcase: https://codepen.io/dmitrysharabin/pen/NWjYRGK

It looks like it has never been working. 😞

Originally found by @karger.

LeaVerou commented 3 years ago

After some investigation, this is not really related to custom data actions, if you use the regular add/delete buttons it still reproduces. Which makes sense, since those also use data actions under the hood.

Also note that this only applies when the entire foo is referenced. Expressions with foo.bar or just bar work fine.