From 3ed61c3ec0a110f909ab1680dc6398fcd311d143 Mon Sep 17 00:00:00 2001 From: Matthew Day Date: Wed, 7 Dec 2016 08:17:59 -0500 Subject: [PATCH] Clarify where ngDisabled should be used My understanding is that ngDisabled is for form elements only so I propose that the documentation reflect this more clearly. --- src/ng/directive/attrs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/attrs.js b/src/ng/directive/attrs.js index 56d237da74b..c7ed7de9193 100644 --- a/src/ng/directive/attrs.js +++ b/src/ng/directive/attrs.js @@ -159,7 +159,7 @@ * * @description * - * This directive sets the `disabled` attribute on the element if the + * This directive sets the `disabled` attribute on a form element if the * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy. * * A special directive is necessary because we cannot use interpolation inside the `disabled`