neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.88k stars 164 forks source link

model.Component: data property setter => getting the same value for dates #5594

Closed tobiu closed 2 months ago

tobiu commented 2 months ago

when accessing a VM date prop, we get the same instance instead of a copy.

so, when changing it, oldValue & value would stay the same and onDataPropertyChange() won't get executed.

concrete use case: inside the calendar widget, the arrow buttons next to the "Today" button no longer work.