powmedia / backbone-forms

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

Select editor should display a default "blank" entry. #259

Open erikcw opened 11 years ago

erikcw commented 11 years ago

When the Select editor's options are populated with a Backbone Collection, the field "defaults" to the first option in the select (first model in the collection).

The editor should (optionally?) display a default "blank" value such as <option>----------</option> as the first item in the select list.

gurpreet2013 commented 9 years ago

Hi i m also trying to do this. Did you find any solution??

fonji commented 9 years ago

You can extend the select editor to add your behaviour. I added the functionnality in my fork, here's the diff.