It doesn't set the focus on the next random element. It sets the focus on
the next element THAT CAN RECEIVE focus. It ignores tab-order, but that can
be fixed in the code.
If that's not what you need, the code is also easy to adapt to select
whatever criteria you might have. Just adapt the if statement in the
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.