Skip to content

Commit 0a2a5cb

Browse files
Narretzellimist
authored andcommitted
docs(ngDisabled): list some elements that natively support
Closes angular#15473
1 parent 830f9bc commit 0a2a5cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/directive/attrs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@
159159
*
160160
* @description
161161
*
162-
* This directive sets the `disabled` attribute on the element if the
162+
* This directive sets the `disabled` attribute on the element (typically a form control,
163+
* e.g. `input`, `button`, `select` etc.) if the
163164
* {@link guide/expression expression} inside `ngDisabled` evaluates to truthy.
164165
*
165166
* A special directive is necessary because we cannot use interpolation inside the `disabled`

0 commit comments

Comments
 (0)