DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
221 stars 78 forks source link

Editable dropdownlist #457

Closed CharlesMayer closed 7 years ago

CharlesMayer commented 7 years ago

How can I achieve an input textbox inside a dropdownlist so that user can type in a value?

@Html.Bootstrap().DropDownListFor(x => x.carmodelIds, @Model.CarModelList)

something like in this example http://jsfiddle.net/L6YVc/

DmitryEfimenko commented 7 years ago

@Html.Bootstrap().DropDownListFor() mimics functionality of @Html.DropDownListFor(), which does not have the desired functionality. I afraid you'd have to write something custom (without the use of BMVC) to achieve this.