I am working on a widget for which I need to act on the Change/Input html dom event of the datepicker it's input field.
For any other inputs like input, radio, checkbox, et cetera it works fine, but none of the datepickers seems to trigger this.
i tried the default datepicker (dijit) and also the appstore versions (bootstrap, jquery) but with the same results.
i noticed that one of the appstore modules is using the Mendix client API 'mx.data.set' to update the value of the input.
So I also tried to subscribe using 'mx.data.subscribe' but subscriptions are not informed when the 'set' method is called?
Only when I explicitly trigger the mx.data.update function it appears that my subscribers are being informed.
Can it still be done with html dom events? Is trying to subscribe to changes with 'mx.data' the way forward? Any other suggestions?