Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4978a06

Browse files
MichaelJGWNarretz
authored andcommitted
docs(ngRequired): add 'restrict' info
The Angular Docs do not show the restrictions Closes #14541
1 parent aaa069a commit 4978a06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/directive/validators.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* @ngdoc directive
44
* @name ngRequired
5-
*
5+
* @restrict A
6+
*
67
* @description
78
*
89
* ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.

0 commit comments

Comments
 (0)