powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 413 forks source link

Select's options should let you specific attributes #267

Closed philfreo closed 11 years ago

philfreo commented 11 years ago

https://github.com/powmedia/backbone-forms/blob/master/src/editors/select.js#L180

Currently you can only specify the <option> value and label text.

I'd like to be able to set additional html properties on the <option> tag like:

{ val: 'value', label: 'Label', attrs: { disabled: 'disabled' } }

philfreo commented 11 years ago

dupe of #141