When I have an object with a value set, it is only shown initially if I leave out the "--Select--"
parameter.
Any idea why that would be?
@Html.DropDownListFor(m => m.FlightDetails.AirlineId, ViewBag.AirlineList as SelectList, "--Select--", new { @class = "form-control selectpicker", @data_live_search = "true", @id = flight.Id + "AirlineId" })