backbone-forms icon indicating copy to clipboard operation
backbone-forms copied to clipboard

Select editor should display a default "blank" entry.

Open erikcw opened this issue 12 years ago • 2 comments

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.

erikcw avatar Jul 05 '13 19:07 erikcw

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

gurpreet2013 avatar Aug 11 '15 20:08 gurpreet2013

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

fonji avatar Aug 12 '15 07:08 fonji