JumpLink / angular-toggle-switch

AngularJS Toggle Switch
http://jumplink.github.io/angular-toggle-switch/
MIT License
68 stars 37 forks source link

Two toggles binded to different properties initialise wrong #32

Closed Joetjah closed 7 years ago

Joetjah commented 7 years ago

It seems that when you have two toggles on a panel, which both link to the same object but different properties of that object, when you initialise the page, the second toggle will always have the same value as the first toggle, regardless of parameter values. Switching and saving it around still works like intended (saves to the correct parameter).

Joetjah commented 7 years ago

A directive messed with the values, the toggle is working properly.