test(demos): update angular input test to include select

This commit is contained in:
Brandy Carney
2018-02-22 17:07:42 -05:00
parent 8b50faa131
commit 53da91c623

View File

@ -170,6 +170,42 @@
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<h2>Select</h2>
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<label for="stdSelect">Select</label>
<select id="stdSelect" name="stdSelect" [(ngModel)]="selectValue" placeholder="YYYY-MM-DDTHH:mm:ssZ" [disabled]="disableInputs">
<option value="bacon">Bacon</option>
<option value="pepperoni">Pepperoni</option>
<option value="ham" selected>Ham</option>
<option value="sausage">Sausage</option>
<option value="pineapple">Pineapple</option>
</select>
</ion-col>
<ion-col>
Value:
<span id="selectOutput">{{selectValue}}</span>
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<ion-item>
<ion-label>Ionic Select</ion-label>
<ion-select id="ionSelectInput" [(ngModel)]="selectValue" [disabled]="disableInputs">
<ion-select-option value="bacon">Bacon</ion-select-option>
<ion-select-option value="pepperoni">Pepperoni</ion-select-option>
<ion-select-option value="ham" selected>Ham</ion-select-option>
<ion-select-option value="sausage">Sausage</ion-select-option>
<ion-select-option value="pineapple">Pineapple</ion-select-option>
</ion-select>
</ion-item>
</ion-col>
</ion-row>
<ion-row>
<ion-col>
<h2>Date Time Picker</h2>