AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng disabled Directive

AngularJS ng-disabled Directive

 

 

The ng-disabled directive sets the disabled attribute of a form field. If the ng-disabled returns true, then the form field will be disabled.

 

Syntax:-

 

< input ng-disabled="expression" >< /input >

 

Further Explanation:-

 

Value Description
expression An expression that will set the element's disabled attribute if it returns true.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS