Bootstrap select that allows text edit

html, twitter-bootstrap

Solution

This looks like it solves my issue.

Why does HTML 5 not have editable combobox or local menus built in?

I just make the class of said input control to "form-control" and I get the bootstrap look.

Problem

I'm using bootstrap and have some select/dropdown boxes. They don't allow me to edit the text and I would like to make this select list an editable field so it can act as a select from existing or type a new value and click a Save to save it. How would I be able to do this via bootstrap (since my entire site is made with bootstrap). So all I have today is the select below, but it doesn't allow the user to type into the select box. I guess I'm looking for a mix textbox and select/dropdown. ``` <select id="selectGroups" class="form-control" size="1"> @foreach(var g in Model) { <option value="@g">@g</option> } </select> ```

Original source

Related problems