Confused about ion-item usage

This was really helpful and this level of detail should be in the docs (at least as an optional footnote) because without knowing the underlying logic its impossible to predict what is going to make it work!

I was struggling until I found this post.
Thank you

1 Like

Hi,

Can you please try these examples with stcked instead of fixed for example:

<ion-item>
                    <ion-label stacked>Name</ion-label>
                    <ion-input formControlName="firstName" type="text"></ion-input>
                    <ion-input formControlName="lastName" type="text"></ion-input>
                  </ion-item>

For me its not working as expected

hi , how can I set ion-item attribute from component side (e.g. setting no-lines when a condition fulfills) another example (setting no-lines for the last item in list) ??

Thanks for your answer, it was exactly what I was looking for