how to create a full width with no label select element in ionic? -
in form use full width element. don't need label, possible?
this select used store list of elements filled controller. have tried without using not change anything.
thanks
you need remove tag , set size max-width: 100%; width: 100%
.
<ion-item> <ion-select [(ngmodel)]="selectmodel" style="max-width: 100%; width: 100%"> <ion-option value="c">fist item</ion-option> <ion-option value="e">second item</ion-option> </ion-select> </ion-item>
regards.
Comments
Post a Comment