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?
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsIn 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?
You will need a directive for that - this is one solution http://msieurtoph.github.io/angular-checkboxes/