I am struggling with a bindable
date property of type
Date | null in one of my components.
When I set that property from one
Date value to an other
Date value, the
dateChanged method in the view-model is triggered, even if the underlying dates in those (different)
Date instances are exactly the same. I would like to avoid that.
Is there an elegant way to fix this? Can it be done with a binding behavior, for example? If so, are there any coding examples available somewhere which demonstrate how such a custom binding behavior could be implemented?