YouTip LogoYouTip

Ng Ng Disabled

# AngularJS `ng-disabled` Directive [![Image 3: AngularJS Reference Manual](#) AngularJS Reference Manual](#) * * * ## AngularJS Example Disable or enable an input field: Disable form input field:
Female Male [Try it Β»](#) * * * ## Definition and Usage The **ng-disabled** directive sets the disabled attribute of a form input field (input, select, or textarea). If the expression inside `ng-disabled` returns true, the form field will be disabled. * * * ## Syntax The , , and