IEnumerable<DeliveryRunRecord> deliveries = _deliveryRunService.GetAll();
List<SelectListItem> listOfDeliveryRuns = deliveries.Select(x => new SelectListItem
{
Value = x.Id.ToString(),
Text = x.Name,
Selected = "Select".ToString()
}).ToList();
希望在选择下拉列表之前出现“选择”,但在单击时不可用,只允许用户选择交付中的值?