vitalets / checklist-model

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

Pop #151

Closed phanivaranasi closed 7 years ago

phanivaranasi commented 7 years ago

Hi Team, I'm trying to restrict duplicate selections in my checked list, Below is js code

image

Below is html code image

Now, when pop is used checklist-model is getting poped but its not reflecting in html, duplicate checkbox is still checked, how it can be unchecked ?

Thanks Phaneendra

beradrian commented 7 years ago

Use checklist-before-change instead checklist-change and return a boolean value to accept or not the change.