Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49290

Ion-list with label and note - note in next like text is very large

$
0
0

Hello,

I’m using the latest ionic in vanilla JS and it works out fine, however I’ve this piece of code to generate a list of items:

return `<ion-item>
                <ion-label>${name}</ion-label>
                <ion-note color="medium">${value}</ion-note>
            </ion-item>`;

It works fine in most cases, however sometimes the output note is very large resulting in this:

e

Is there a way to make it behave like native iOS where if it doesn’t fit the note will be displayed on a new line? Here’s the example from iOS settings:

Thank you.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>