angularjs - Validation on text on alphabets enter -
Anyone uses AngulerJS authentication on the text box, so only enter the characters.
Based on what you want:
letters and spaces: < / P>
ng-pattern = "/ ^ [a-zA-z \ s] * $ /" Letters are not spaces:
ng-pattern = "/ ^ [a-zA-Z] * $ /"
Comments
Post a Comment