YouTip LogoYouTip

Ng Ng Readonly

# AngularJS `ng-readonly` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Set an input field to read-only: Readonly:
[Try it Β»](#) * * * ## Definition and Usage The **ng-readonly** directive sets the `readonly` attribute of a form field (`` or `