[Vuejs]-Getting all items in a select list to controller

0👍

After reading this post I realized that what I need to do was add the square brackets to the name.

The end result was:

<select multiple style="width: 300px; height: 200px;" name="Signatures[]">
                        <option v-for="item in Selected" selected>{{ item }}</option>
                    </select>
string signatures = Request.Form["Signatures[]"];

Leave a comment