title: Binding multiple list items on post in Razor Pages
body: <p>I would like to bind a form that has multiple list items on post and below is my code:</p>
  <pre><code>   &lt;form asp-page-handler=&quot;InsertAssignedStates&quot; method=&quot;post&quot;&gt;
             name=&quot;assignedStates&quot; /&gt;
                  &lt;div class=&quot;row&quot;&gt;
                      &lt;div class=&quot;dual-list list-left col-md-5&quot;&gt;
                          &lt;div class=&quot;well text-right&quot;&gt;
                              &lt;select asp-for=&quot;Stest&quot;
                                      multiple=&quot;multiple&quot;
                                      size=&quot;10&quot;
                                      class=&quot;form-control mb-2 mr-sm-2 ml-sm-3 leftList&quot;
                                      id=&quot;assignedStateList&quot;
                                      asp-items=&quot;@Model.AssignedTaxStateList&quot;&gt;
                              &lt;/select&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  </code></pre>
  <p>And I have this in the page model:</p>
  <pre><code> [BindProperty(SupportsGet = true)]
   public IList&lt;Tax&gt; AssignedTaxStates { get; set; }
   public IActionResult OnPostInsertAssignedStates()
      {
    
       return Redirect(&quot;Index/&quot;);
      }
  </code></pre>
  <p>It hits the breakpoint but not is bound.</p>