vitalets / checklist-model

AngularJS directive for list of checkboxes
http://vitalets.github.io/checklist-model
MIT License
1.05k stars 207 forks source link

Malfunctions, when used with angular-translate #95

Closed mavarazy closed 8 years ago

mavarazy commented 9 years ago

With a simple Object, and following markup:

<label ng-repeat="(key, text) in roles">
    <input type="checkbox" checklist-model="user.roles" checklist-value="key"> {{text}}
</label>

But when adding properly configured translate:

<label ng-repeat="(key, text) in roles">
    <input type="checkbox" checklist-model="user.roles" checklist-value="key" translate> {{text}}
</label>

it does not trigger update events for user.roles anymore

beradrian commented 9 years ago

Do you have a JSFiddle, Plunkr example or anything alike?

pratik14 commented 9 years ago

@mavarazy Do you want to change value of checkbox along with text?

beradrian commented 8 years ago

The tests are working and I cannot reproduce this issue. Until more detailed example of the issue is provided, I will close it. Please feel free to reopen it.