jeudi 23 juin 2016

How do I adapt existing decorator directive in AngularJS to select all checkboxes?

I've been using a decorator directive to create a checkbox list that is based on this previous answer: How to bind to list of checkbox values with AngularJS?

However, I want to add a "top-level" checkbox that toggles the selection of all checkboxes.

Is there a way to customise this directive to achieve this?




Aucun commentaire:

Enregistrer un commentaire