mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-19 00:06:30 +08:00
docs(select): fix attribute documentation
Select documentation was still referring to binding to name, when it should be ng-model instead. Fixed it.
This commit is contained in:
committed by
Pete Bacon Darwin
parent
80f34598f8
commit
ee774f6e5b
@@ -27,7 +27,8 @@
|
||||
* `select` model to be bound to a non-string value. This is because an option element can currently
|
||||
* be bound to string values only.
|
||||
*
|
||||
* @param {string} name assignable expression to data-bind to.
|
||||
* @param {string} ngModel Assignable angular expression to data-bind to.
|
||||
* @param {string=} name Property name of the form under which the control is published.
|
||||
* @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
|
||||
|
||||
Reference in New Issue
Block a user