vitalets / checklist-model

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

trigger jQuery change event on data change #160

Closed vkrizan closed 7 years ago

vkrizan commented 7 years ago

Angular checklist-model did not fired change event for jQuery, when the data set (model) was changed externally. This PR should fix it by issuing jQuery.change() on the checkbox element.

beradrian commented 7 years ago

To tell you frankly I'm resilient of adding jQuery specific code into an angular component. If you want this kind of functionality it is better to use checklist-change and fire the jQuery event yourself.