title: DropDownListFor display box is blank after selection
body: <p><strong>Problem:</strong></p>
  
  <p>Hello I'm having troubles all of a sudden with my DropDownListFor which was working just fine. I was styling my web app a bit but didn't change anything on dropdownlistfor</p>
  
  <pre><code> &lt;!-- Genre --&gt;
      &lt;div class="form-group"&gt;
          @Html.LabelFor(m =&gt; m.Genre)
          @Html.DropDownListFor(m =&gt; m.Genre, new SelectList(Model.Genres.OrderBy(n=&gt;n.Name), "Id", "Name"), "Select Genre", new { @class = "form-control" })
          @Html.ValidationMessageFor(m =&gt; m.Genre)
      &lt;/div&gt;
  </code></pre>
  
  <p>And in Controller</p>
  
  <pre><code> [Authorize]
      public ActionResult Create()
      {
          var viewModel = new GigFormViewModel
          {
              Genres = _context.Genres.ToList()
          };
  
          return View(viewModel);
      }
  </code></pre>
  
  <p>Okay so, here's the visual of my problem:</p>
  
  <p><a href="https://i.stack.imgur.com/WQOJf.png" rel="nofollow noreferrer">Blank display box</a></p>
  
  <p><a href="https://i.stack.imgur.com/l5rCr.jpg" rel="nofollow noreferrer">Yet the item is selected and will save properly to database</a></p>
  
  <p>So it's just visual thing that bothers me..saving and everything else is working just fine.</p>
  
  <p>I even inspected element and color of the items are black tried to change background of display box in case font is white so I can see it but nope, the selection just does not display at all.</p>
  
  <p>Edit: Viewmodel -></p>
  
  <pre><code> public class GigFormViewModel
  {
  
      [Required]
      public string Name { get; set; }
  
      [Required]
      public string Venue { get; set; }
  
      [Required]
      [FutureDate]
      public string Date { get; set; }
  
      [Required]
      [ValidTime]
      public string Time { get; set; }
  
      [Required]
      public int Genre { get; set; }
  
      public IEnumerable&lt;Genre&gt; Genres { get; set; }
  
      public DateTime GetDateTime()
      {
          return DateTime.Parse(string.Format("{0} {1}", Date, Time));
      }
  </code></pre>
  
  <p>And Genre class</p>
  
  <pre><code> public class Genre
  {
      public byte Id { get; set; }
  
  
      [Required]
      [StringLength(255)]
      public string Name { get; set; }
  
  }
  </code></pre>