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

How to hide label after selecting an option?

$
0
0

@Astrid5 wrote:

Hey guys, so, I’d like to know how to hide a label after selecting an option. Here is my code:

<p>Posso esperar até:</p>
            <ion-item class="select-info ion-margin-bottom" lines="none">
                <ion-label>Escolha a data limite</ion-label>
                <ion-select>
                    <ion-select-option value="data">25/05/19</ion-select-option>
                </ion-select>
            </ion-item>

The ‘ion-select-option’ will be fed later with some extra data, inside a *ngFor. The thing is, after choosing the date, it gets like that:

image

I’d like to know if it is possible to hide the “Escolha a data limite” and show only the “25/05/19”. Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49260

Trending Articles



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