iStefo / ember-select-2

DEPRECATED IN FAVOR OF https://github.com/cibernox/ember-power-select
MIT License
143 stars 119 forks source link

Select2 Default Value #87

Open kcollignon opened 9 years ago

kcollignon commented 9 years ago

I was wondering if there is any documentation on how to provide the pre-selected element for a Select2 dropdown with Typeahead. For example, if my model object has the selected car as "Toyota", when someone goes to an edit form i'd like the dropdown to be preselected with "Toyota". Thanks!

kcollignon commented 9 years ago

Any suggestions @iStefo ?

iStefo commented 9 years ago

Hi @kcollignon, does this work with plain select2 (3.5.2) when using typeahead mode? If yes, then this is definitely a bug that should be addressed by this addon.