I have used the switch in angular js like <input type="checkbox" id="is_default" class="js-switch" ng-model="vm.is_default" ui-switch/>
It is updating the value if default value=0 and i change it to 1
It's not updating the model value when default value =1 and i change it to 0(it's not updating the value of vm.is_default)
I have used the switch in angular js like
<input type="checkbox" id="is_default" class="js-switch" ng-model="vm.is_default" ui-switch/>
It is updating the value if default value=0 and i change it to 1 It's not updating the model value when default value =1 and i change it to 0(it's not updating the value of vm.is_default)