DmitryEfimenko / TwitterBootstrapMvc

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

Editable dropdownlist #457

Closed CharlesMayer closed 6 years ago

CharlesMayer commented 6 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 6 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.