You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2018. It is now read-only.
Using ng-change with the picker works as expected, i.e. the function gets called each time when the value changes: <mdp-date-picker ng-model="..." ng-change="someFunction()"></mdp-date-picker>
Although, this event may get called a lot of times, especially when user will start using the arrows, mouse scroll etc. to change the value. So if upon that change I need to make a server request to check something, I used to use ng-blur event, i.e. to do it after the element loses focus: <mdp-date-picker ng-model="..." ng-blur="someFunction()"></mdp-date-picker>
Unfortunately, the function defined in ng-blur directive gets never called.
The text was updated successfully, but these errors were encountered:
Using ng-change with the picker works as expected, i.e. the function gets called each time when the value changes:
<mdp-date-picker ng-model="..." ng-change="someFunction()"></mdp-date-picker>
Although, this event may get called a lot of times, especially when user will start using the arrows, mouse scroll etc. to change the value. So if upon that change I need to make a server request to check something, I used to use ng-blur event, i.e. to do it after the element loses focus:
<mdp-date-picker ng-model="..." ng-blur="someFunction()"></mdp-date-picker>
Unfortunately, the function defined in ng-blur directive gets never called.
The text was updated successfully, but these errors were encountered: