After some digging I noticed that model.value was not updated in the applyDate in Umbraco.PropertyEditors.DatepickerController. However, in this dev branch commit it does! Happy times :-)
After adding this line to my umbraco\js\umbraco.controllers.js, the changed model.value was not reflected in my view, but at least now I can get it like this:
Get value back from umb-editor
Hi, I'm trying to reuse the umb-editor directive with datepicker view:
controller:
view:
The editor appears with correct config, but the watch does not trigger when I select a date. What am I missing?
After some digging I noticed that model.value was not updated in the applyDate in Umbraco.PropertyEditors.DatepickerController. However, in this dev branch commit it does! Happy times :-)
https://github.com/umbraco/Umbraco-CMS/commit/dbece874dd7d1ffbe124c4f6f8e18a11a290fe32
After adding this line to my umbraco\js\umbraco.controllers.js, the changed model.value was not reflected in my view, but at least now I can get it like this:
is working on a reply...