Hello,
I have issue with Dynamics 365 ( Version 1612 (8.2.1.271) ), with javascript Field Notification.
On Form I have DateTime field called "new_test" in javascript on FormLoad I'm adding Field Notification, and adding OnChange event on that field. On Event I try to clearnotification but it's not cleared. Problem dosent occur in other Field Type like string, number etc.
Script:
function OnLoad(){ var fieldAttribute = Xrm.Page.getControl('new_test').getAttribute(); Xrm.Page.getControl('new_test').setNotification('req', '101'); fieldAttribute.addOnChange(OnChange); } function OnChange(context){ Xrm.Page.getControl('new_test').clearNotification('101'); }
I traied test clearNotification(..) and clearNotifications()
In additional if user set value on field with some random string like "aaa", and after that choose date from date picker, notification is cleared.
Problem occurs on Trial version and on client sandbox with installed update to 365.
*This post is locked for comments