When you have custom Dojo widget and update this.value = 'blabla' then Widget doesn't notify EpiServer and "Publish Changes" button doen't apper.
This issue appear only after when you use Dialog in widget: when you open dialog or close it then this.value = 'blabla' doesn't triegger change notification.
When you have custom Dojo widget and update this.value = 'blabla' then Widget doesn't notify EpiServer and "Publish Changes" button doen't apper.
This issue appear only after when you use Dialog in widget: when you open dialog or close it then this.value = 'blabla' doesn't triegger change notification.
Tested this on EpiServer 9.6.1.0 but the same issue was in prev version too: http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=76726
To fix it, after using Dialog widget, you should to redirect focus to this (to main widget):
//take focus to main control
this
.onFocus();
//update a value
this
.value = result;
//trigger change event
this
.onChange(
this
.value);
Please fix this in EpiServer that it works by default - without setupping focus