Pds Ink
Pds Ink

Reputation: 765

angular js use checkbox model to store array

In Angular one checkbox is linked with one model. But in practice i want one model to store array of checked values from several checkboxes.

There is someone who got this problem and have a solution?

Upvotes: 0

Views: 103

Answers (1)

Torben Pi Jensen
Torben Pi Jensen

Reputation: 870

You will need a directive for that - this is one solution http://msieurtoph.github.io/angular-checkboxes/

Upvotes: 1

Related Questions