Dies ist mein HTML-Code, aber irgendwie funktioniert der Text-Wrap nicht in dieser Select-Komponente. Hat jemand eine Idee?Ionic 2 Text nicht Wrap in Wählen Komponente
<ion-list>
<h5 color="primary">
Choose:
</h5>
<ion-item text-wrap>
<ion-select text-wrap class="selectWidth" okText="Ok" cancelText="Cancel" [selectOptions]="selectOptions" [(ngModel)]="Decision">
<ion-option text-wrap selected="true" color="primary" value="vone" text-wrap>first first first first first</ion-option>
<ion-option text-wrap color="primary" value="vtwo">second second second second second second second</ion-option>
<ion-option text-wrap color="primary" value="vthree">third third third third third</ion-option>
</ion-select>
</ion-item>
</ion-list>
haben Sie versucht, 'white-space Einstellung: normal ; 'in' selectWidth' css class? –
Ja, sogar mit dem! Wichtigen Tag ... –
Kannst du den vollständigen Code, wie man das bekommt, posten? Was ist in der SelectWidth-Klasse? – user3561494