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!
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.
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!