feat(datetime): add placeholder attribute

fixes #7966
This commit is contained in:
Olivier Goguel
2017-02-13 14:59:22 -05:00
committed by Brandy Carney
parent 6a0c92c509
commit 52a6d41c86
5 changed files with 36 additions and 1 deletions

View File

@@ -14,6 +14,11 @@
<ion-datetime displayFormat="MMMM" [(ngModel)]="monthOnly"></ion-datetime>
</ion-item>
<ion-item>
<ion-label>MM DD YY</ion-label>
<ion-datetime displayFormat="MM DD YY" [(ngModel)]="placeholderDate" placeholder="Select Date"></ion-datetime>
</ion-item>
<ion-item>
<ion-label>YYYY</ion-label>
<ion-datetime displayFormat="YYYY" min="1981" max="2002" [(ngModel)]="wwwInvented"></ion-datetime>