Currently I have two directives in the app.js, which are for following onkeypress validation, one directive is to validate only numerics and the other directive validate only letters [A-Z].
<input type="text" id="txt_siaf" class="form-control" ng-model="siaf" maxlength="10" valid-numeric /> Given that my input text currently assigns a valid-numeric directive, I need to know how to change it by the valid-letters directive.
I would appreciate your support.