I am trying to recreate the below in Ionic 3 (see link for GIF). I have no idea what I am doing. I have tried to use the ionic select options but it is not giving me the desired effect. Can someone please help me with this?
More Info:
Currently I am at this point: Current Progress
As you can see, very far off. My code is:
<ion-grid>
<ion-row>
<ion-col col-3>
<ion-item>
<ion-label stacked>Filter</ion-label>
<ion-select interface="popover">
<ion-option value="10">10</ion-option>
<ion-option value="20">20</ion-option>
</ion-select>
</ion-item>
</ion-col>
<ion-col col-3>
<ion-item>
<ion-label>Due Date</ion-label>
<ion-select interface="popover">
<ion-option value="10">10</ion-option>
<ion-option value="20">20</ion-option>
</ion-select>
</ion-item>
</ion-col>
<ion-col col-3>
<ion-item>
<ion-label>Descending</ion-label>
<ion-select interface="popover">
<ion-option value="10">10</ion-option>
<ion-option value="20">20</ion-option>
</ion-select>
</ion-item>
</ion-col>
</ion-row>
</ion-grid>
Even though you are using ionic doesn't mean you can't use the normal html select component.
Below is the html code from drop down..it is not exactly as you want...but i hope u'll get some idea :
Declare variable in .ts file :
selectedLeave : string = '';
add below code in html file :
I suggest using the Popover Controller. Generate a new Page with your
ion-select
and call it like this:This should be in your html with the Selects: