Hi,
I encountered a case where I'd like to observe both focusLost and textChanged events on a TextField. There seems to be no way to currently observe a "blur" event when textChanged is required as well.
So can this enum please be extended with an all?
I'm up for a PR if you think this is a good idea.
Thanks,
Eddy
While we're on the subject.. it may be even more useful to have a dedicated focusLost event that binds to a function. So for Angular: (focusLost)="myBlurHandler($event)".
About the UpdateTextTrigger enum - generally textChange is more frequent than focusLost and it doesn't make sense to trigger text change twice with the same text - after the last change and on lost focus.
I think a dedicated focusLost or even blurwould be more useful.
PR would be great - thanks @EddyVerbruggen
@vakrilov Yeah that makes more sense to me as well. Could be a bit harder to pull off but I'll give it a shot 馃憤
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
While we're on the subject.. it may be even more useful to have a dedicated
focusLostevent that binds to a function. So for Angular:(focusLost)="myBlurHandler($event)".