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

Ion-select overrides button in ion-item

$
0
0

@Jerezle wrote:

When there is an ion-select in an ion-item, (tap) on a button that is in the same ion-item does not work.

For example:

<ion-item>
    <button ion-button item-start (tap)="doSomething()" icon-only clear>
        <ion-icon name="information-circle"></ion-icon>
    </button>
    <ion-label>Some Label for a Select</ion-label>
    <ion-select [(ngModel)]="someProperty">
        <ion-option>
            Option 1
        </ion-option>
        <ion-option>
            Option 2
        </ion-option>
    </ion-select>
</ion-item>

When tapping the button, it actually triggers the Select Option Dialog.

Does anyone know how to work around this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49216

Trending Articles



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