aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/select.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive/select.js')
-rw-r--r--src/ng/directive/select.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js
index e6e0ced7..31254592 100644
--- a/src/ng/directive/select.js
+++ b/src/ng/directive/select.js
@@ -29,6 +29,9 @@
*
* @param {string} name assignable expression to data-bind to.
* @param {string=} required The control is considered valid only if value is entered.
+ * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to
+ * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of
+ * `required` when you want to data-bind to the `required` attribute.
* @param {comprehension_expression=} ngOptions in one of the following forms:
*
* * for array data sources: