title: ListBoxFor in .NET Core not binding
body: <p>I cannot get this ListBox to have a value. It worked in MVC4.5, from which I am translating; cannot get to work in MVC Core. Swear it was working at some point; now it is not.</p>
  
  <p>Have tried:
  <a href="https://stackoverflow.com/a/19144613/2496266">https://stackoverflow.com/a/19144613/2496266</a>
  <a href="https://stackoverflow.com/a/40308906/2496266">https://stackoverflow.com/a/40308906/2496266</a>
  etc.</p>
  
  <p>View</p>
  
  <pre><code>        &lt;div class="tb-field desc-field"&gt;
              @Html.ListBoxFor(model =&gt; model.workerRequests,
                  new SelectList(ViewBag.workerRequests, "Value", "Text"),
                      new { id = "workerRequests2_WO-"+ Model.ID, tabindex = "22", style="min-width: 16em;"}
              )
          &lt;/div&gt;
  </code></pre>
  
  <p>Controller (GET)</p>
  
  <pre><code>            wo.workerRequests = new List&lt;ViewModel.WorkerRequest&gt;();
              ViewData["workerRequests"] = new SelectList(wo.workerRequests);
              return PartialView("Create", wo);
  </code></pre>
  
  <p>Controller (POST)</p>
  
  <pre><code>        public async Task&lt;ActionResult&gt; Create(WorkOrder wo, string userName)
          {
              ModelState.ThrowIfInvalid();
              var modelUpdated = await _adaptor.TryUpdateModelAsync(this, wo);
              // ... "wo.WorkerRequests" is empty here ^
          }
  </code></pre>
  
  <p>Entity</p>
  
  <pre><code>
          public virtual ICollection&lt;WorkerRequest&gt; workerRequests { get; set; }
  </code></pre>
  
  <p>Additional info: </p>
  
  <p>Apparently it is coming across in the Request, but as a StringValue:</p>
  
  <p><a href="https://i.stack.imgur.com/aAsGb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aAsGb.png" alt="StringValue_in_request"></a></p>
  
  <p>...apparently all of them are string values. It's not getting bound to its desired type.</p>
  
  <p>Basically:</p>
  
  <ol>
  <li>It has getters and setters on the entity.</li>
  <li>I'm populating the ViewData before serving the page.</li>
  <li>I'm using a SelectList(arg) where arg is of type myModel.myProperty.</li>
  </ol>
  
  <p>We are selecting the Worker in the WorkerRequest from the database (nested type). Is this due to the lazy-loading bugs? What am I doing wrong?</p>