gmac / backbone.epoxy

Declarative data binding and computed models for Backbone
http://epoxyjs.org
MIT License
615 stars 89 forks source link

Options binding handler should allow configuration of label and value properties #6

Closed dspangen closed 11 years ago

dspangen commented 11 years ago

I'd really like to be able to use configuration to change what model property in a collection defines the label and value parts of an options binding.

gmac commented 11 years ago

Excellent point, thanks for raising it. I'd considered that briefly while writing that handler and then moved on. Leaving this open as an item to address.

gmac commented 11 years ago

A draft implementation of this feature has been committed to the edge branch. The API may be adjusted before formal release, but I agree the functionality is important. See edge documentation for the working spec (see Epoxy.bindings section). Any feedback on configuration would be appreciated... it's always helpful to have a second perspective on API organization.