YouTip LogoYouTip

Ng Ng Disabled

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