javascript - Ionic checkbox doesn't react on clicks -


i have simple view in ionic application:

<ion-view view-title="search"> <ion-content>       <ul class="list">       <li class="item item-checkbox">          <label class="checkbox">            <input type="checkbox">          </label>          flux capacitor       </li>    </ul> </ion-content> </ion-view> 

problems is, nothing happens when push checkbox?

edit: found problem, don't know why doesn't work. when add following menu.html checkbox stops working:

<ion-tabs class="tabs-positive tabs-icon-only">    <ion-tab title="home" icon-on="ion-ios-filing" icon-off="ion-ios-filing-outline">     <ion-nav-view name="home"></ion-nav-view>   </ion-tab>   </ion-tabs> 

can explain why is? line:

<ion-nav-view name="home"></ion-nav-view> 

that ruins it..

i personnaly set checkbox ionic 1.0.0

<ion-checkbox ng-model="mymodel.ischecked" ng-change="changevalue()">text </ion-checkbox> 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -