Skip to content

ng-switchery not updating ng-model value on toggle the switch in angular js #44

@JatinDudhat

Description

@JatinDudhat

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions