如何将自由文本填充到selectpicker类的下拉列表中?

时间:2018-11-29 05:41:22

标签: c# html asp.net-mvc twitter-bootstrap

我正在通过ASP.NET MVC开发Web应用程序。 HTML:

@Html.DropDownListFor(x => x.TEST, (SelectList)ViewBag.testMasterList,
null, new { id = "dropDownListTest", title = "[--Select the TEST--]", 
@class = "selectpicker", data_style = "btn-info", data_width = "fit", 
data_live_search = "true", data_selected_text_format = "count > 4", 
data_size = "9" })

图片:

enter image description here
从上面的图片,我想填写自由文本。例如:1天,40天和55天。

请问有人可以帮我吗?

0 个答案:

没有答案