Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Button inside ion-radio not clickable or not triggering function on click

$
0
0

@pyaephyokyaw009 wrote:

Hello,

I insert a button inside ion-radio and bind a function with ng-click on that button. But, that function on button which is self.unlock() is not being called for some reason. Somebody please help me out. Thanks in advance. The code is as below.

  <ion-radio class="item item-radio item-button-right" ng-repeat="location in self.locations"
           ng-value="location"
           ng-model="$parent.$parent.location" ng-change="self.changeLocation(location)">
  {{ location.description }}
  <button ng-show="location.isChecked" class="button button-icon" ng-click="self.unlock(location)">
  <i class="icon ion-locked"></i>
  </button>
 </ion-radio>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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