test(datetime): update test to correctly toggle disabled

This commit is contained in:
Brandy Carney
2018-02-08 12:44:45 -05:00
parent e13f6a1692
commit 0f46891ae1

View File

@ -12,6 +12,11 @@
<ion-header>
<ion-toolbar>
<ion-title>Datetime - Basic</ion-title>
<ion-buttons slot="end">
<ion-button onclick="toggleBoolean('dynamicDisabled', 'disabled')">
(disabled)
</ion-button>
</ion-buttons>
</ion-toolbar>
</ion-header>
@ -29,7 +34,7 @@
<ion-item>
<ion-label>Disabled</ion-label>
<ion-datetime display-format="MM DD YY" disabled value="1994-12-15"></ion-datetime>
<ion-datetime id="dynamicDisabled" display-format="MM DD YY" disabled value="1994-12-15"></ion-datetime>
</ion-item>
<ion-item>
@ -115,12 +120,6 @@
</ion-list>
<div text-center>
<ion-button onclick="toggleBoolean('dynamicDisabled', 'disabled')">
Toggle Disabled
</ion-button>
</div>
</ion-content>
</ion-page>