mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-20 07:15:31 +08:00
docs(input[date]): add note about lacking browser support
This commit is contained in:
@@ -105,7 +105,9 @@ var inputType = {
|
||||
* @description
|
||||
* Input with date validation and transformation. In browsers that do not yet support
|
||||
* the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601
|
||||
* date format (yyyy-MM-dd), for example: `2009-01-06`. The model must always be a Date object.
|
||||
* date format (yyyy-MM-dd), for example: `2009-01-06`. Since many
|
||||
* modern browsers do not yet support this input type, it is important to provide cues to users on the
|
||||
* expected input format via a placeholder or label. The model must always be a Date object.
|
||||
*
|
||||
* @param {string} ngModel Assignable angular expression to data-bind to.
|
||||
* @param {string=} name Property name of the form under which the control is published.
|
||||
|
||||
Reference in New Issue
Block a user