AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng minlength Directive

AngularJS ng-minlength Directive



The ng-minlength directive is used to add a restriction to an input field and form validator. It will add an invalid state of the input field if the length of the value is less than specified.




< input type="text" ng-minlength="number" >< /input >


Further Explanation:-


Value Description
number A number representing the minimum number of characters legal for the input field.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS