GUAC-1213: Add date/time field format placeholders.

This commit is contained in:
Michael Jumper
2015-08-10 11:39:42 -07:00
parent b2305937c5
commit 0ee7cfa1f3
3 changed files with 5 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
<input type="date" <input type="date"
ng-model="typedValue" ng-model="typedValue"
ng-model-options="modelOptions" ng-model-options="modelOptions"
placeholder="{{'FORM.FIELD_PLACEHOLDER_DATE' | translate}}"
autocorrect="off" autocorrect="off"
autocapitalize="off"/> autocapitalize="off"/>
</div> </div>

View File

@@ -2,6 +2,7 @@
<input type="time" <input type="time"
ng-model="typedValue" ng-model="typedValue"
ng-model-options="modelOptions" ng-model-options="modelOptions"
placeholder="{{'FORM.FIELD_PLACEHOLDER_TIME' | translate}}"
autocorrect="off" autocorrect="off"
autocapitalize="off"/> autocapitalize="off"/>
</div> </div>

View File

@@ -127,6 +127,9 @@
"FORM" : { "FORM" : {
"FIELD_PLACEHOLDER_DATE" : "YYYY-MM-DD",
"FIELD_PLACEHOLDER_TIME" : "HH:MM:SS",
"HELP_SHOW_PASSWORD" : "Click to show password", "HELP_SHOW_PASSWORD" : "Click to show password",
"HELP_HIDE_PASSWORD" : "Click to hide password" "HELP_HIDE_PASSWORD" : "Click to hide password"