mavo
mavo copied to clipboard
If the data source for dynamic select is asynchronous, the select takes its value from the last option
Even though the browser renders the corresponding select
element correctly.
Reduced testcase: https://codepen.io/dmitrysharabin/pen/ExNPKqw?editors=1010
This is the reason why https://mavo.io/get/ still doesn't behave the way we expect (relative to https://github.com/mavoweb/mavo/issues/698).
Thanks for tracking this down! What a weird bug. Can we make a testcase that doesn't depend on async expressions, which are a rather new feature? You could make a backend stub (the backend tests have some of those).
Yes, sure, Lea. I’ll give it a shot asap.
Can we make a testcase that doesn't depend on async expressions, which are a rather new feature? You could make a backend stub (the backend tests have some of those).
Thanks for your idea, Lea. Done. It's in the same pen.