vendredi 30 janvier 2015

ngBlur working properly only for tab out


I am trying to call a method when an input field loses focus. I am using ngBlur for the same. It's working fine if we use tab button to remove focus from input field. But if I try to remove focus by clicking somewhere else in the form, then ngBlur does not work as I expect. Could you please let me know why this is happening? Is there any other way in angularJS to call a method after losing focus by clicking somewhere else using mouse?





Aucun commentaire:

Enregistrer un commentaire