Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3ba9818

Browse files
committed
docs(input[date]): add note about lacking browser support
1 parent e4ba894 commit 3ba9818

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ng/directive/input.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ var inputType = {
105105
* @description
106106
* Input with date validation and transformation. In browsers that do not yet support
107107
* the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601
108-
* date format (yyyy-MM-dd), for example: `2009-01-06`. The model must always be a Date object.
108+
* date format (yyyy-MM-dd), for example: `2009-01-06`. Since many
109+
* modern browsers do not yet support this input type, it is important to provide cues to users on the
110+
* expected input format via a placeholder or label. The model must always be a Date object.
109111
*
110112
* @param {string} ngModel Assignable angular expression to data-bind to.
111113
* @param {string=} name Property name of the form under which the control is published.

0 commit comments

Comments
 (0)