August 27, 2019 at 5:07 am #100238
- app.data.details field value types are in 4.2 object-ified char/string arrays vs 4.1 strings
- app.data.details fields 4.2 cannot be assigned to update the view in real-time; 4.1 can
Please review – this might affect simpler data bindings too.
August 27, 2019 at 5:39 am #100244August 27, 2019 at 5:48 am #100245August 27, 2019 at 5:58 am #100246
- fixed link
I honestly found it was truly magical that I could just assign to arbitrarily nested app.data subfields and the view would just update live before my eyes.
That was something no other framework has.
If this sudden change is not for a deep technical reason, I would like to kindly ask the person/team behind the data binding feature to reconsider adding support for this back.August 27, 2019 at 6:07 am #100248
( https://www.htmlelements.com/docs/view-model-binding/ has sections about grid stack layout at the end of the page. )August 27, 2019 at 6:17 am #100251August 27, 2019 at 6:45 am #100252
Oh, I am infinitely delighted to hear that!
I have an app that is now stuck at 4.1 due to this.
https://codepen.io/cetinsert/pen/jONmPNQ?editors=1011 has just been updated with
notes on the 4.2 regressions (version 3.1 through 4.2, marked !!) of
- behavior – marked 0, 2, 4
- data type – marked T
Thank you!August 28, 2019 at 8:26 am #100257
The old behavior of the ‘data’ object is now available again. The behavior introduced in 4.2.0 is available through the jsonData property of Smart.App. We introduced also a new property formData which is useful for Posting Forms.
Smart HTML Elements
https://www.htmlelements.comAugust 28, 2019 at 3:59 pm #100262
- You must be logged in to reply to this topic.