I'm working in .Net Core VS2017
and trying to populate my dropdown with data from the model. For this purpose I declared my select list as
<select class="form-control" asp-for="TicketTypes" asp-items="@(new SelectList(Model.TicketTypes,"Id","Name"))"></select>
It is loading the data correctly but it automatically adds the multiple attribute to it. How to stop this because I need to show this in dropdown