2

The template:

<ion-item>
    <ion-label stacked>Select long text</ion-label>
    <ion-select>
        <ion-option value="opt1">Very very long text</ion-option>
    </ion-select>
</ion-item>

This gets cut off since the default width for appears to be quite narrow.

How do I change the width?

Muhammad
  • 335
  • 7
  • 27
  • Possible duplicate of [How to set ion-select component with 100% width in IONIC 2](http://stackoverflow.com/questions/38622159/how-to-set-ion-select-component-with-100-width-in-ionic-2) – Thomas Mar 21 '17 at 14:37

2 Answers2

2

Use this in you .sass file:

.alert-wrapper {
   min-width: 40px;//what ever you like
}

.alert-radio-label {
   white-space: normal!important;
}
amin arghavani
  • 1,883
  • 14
  • 21
1

Add this code in your sass file

ion-select{
    max-width: 70% !important;// your choice :)
}
Kishan Oza
  • 1,707
  • 1
  • 16
  • 38