Have a way to combine ion-radio with ion-option-button


#1

Hello, someone know how can i combine ion-radio http://ionicframework.com/docs/components/#radio-buttons with ion-option-button http://ionicframework.com/docs/api/directive/ionDeleteButton/ ?

Because i want to have a radio list, where the user can swipe to delete/edit too, so i need this…


#2

its possible? have a way to do this?

<ion-radio ng-model="choice" ng-value="'A'">
    <ion-item class="item item-icon-left">
        <i class="icon ion-ios-location endereco-destaque" style="font-size: 20px"></i>
        <h2 class="titulo">Title</h2>
        <ion-option-button class="button-positive" ng-click="share(item)"><i class="ion-ios-star" style="padding-right: 2px"></i> Edit</ion-option-button>        
        <ion-option-button class="button-royal ion-trash-a" ng-click="share(item)"></ion-option-button>
    </ion-item>
</ion-radio>

Isn’t work =(

@mhartington you know buddy? i think this is a bug of ionic…


#3

Sorry for the late reply!

This is currently not possible with the current setup for V1.

If you would like, you could submit a PR for this?