I'm facing an issue where the full text from the selected value in an ion-input or ion-option is not being displayed entirely. I need help with implementing text-wrap or CSS codes to show the complete text of the selected value.
Below is an image showcasing the problem:
https://i.sstatic.net/gFcde.png
In the image, you can see that the value "Special Acade" is cut off and there is ample space available for it to appear fully.
Code:
<ion-item *ngIf="categorySelected " >
<ion-label > level 2: </ion-label>
<ion-select interface="popover" [(ngModel)]="subCategorySelected" (ngModelChange)="setSubCategorySelected(subCategorySelected)" text-wrap>
<ion-option *ngFor="let x of subCategory">{{x.name}}</ion-option>
</ion-select>
</ion-item>
Any suggestions on how to solve this would be greatly appreciated!
Thank you in advance!