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

Ion-Select fires other controls after selected

$
0
0

I’m having troubles when using ion-select. I have about five different ion-select in the same form, and all of them are wrapped into a ion-item tag. When I click one select it shows the option in a right way, but when I click the OK Button to choose it fires another select options list.

All of the ion-select are wrapped like this:

<ion-item>
            <ion-label>Gender</ion-label>
            <ion-select name="gender" placeholder="Select" formControlName="gender">
                <ion-select-option value="male">male</ion-select-option>
                <ion-select-option value="female">female</ion-select-option>
            </ion-select>
        </ion-item>

Do you know how to prevent auto-firing for the other selects?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



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