I'm trying to setup an input, such that when length == 5, it will automatically trigger a blur event. How can I do this?
This is pretty much the concept:
<input type="tel" placeholder="type here." maxlength="5" name="digits" ng-model="digits" ng-change="if (digits.length ==5) { TRIGGER BLUR};">
Thanks