angular/angular.js — Issue #690: Form Input Names should support hashmaps and arrays
Author: ProLoser
Created: 2011-12-15 06:05:11+00:00
State: open

I would like to be able to do either of these two solutions:
``
``

Why?

So that I can refer to 1 variable in the scope and treat it as an array of checkbox values. You can have all the keys set to the value specified by the checkbox (or just 1 by default). This seems a lot more reasonable than having to deal with functions that manually handle the data when you check or uncheck.