You POST some input fields named Groups
. In the action method processing that POST, you render a partial that uses @Html.TextBox("Groups", ...)
.
@Html.TextBox
uses the ModelState to fill the value with the previously POSTed value, based on input element name. In this case it takes the first Groups
value it finds in the POST, being "Group Alpha".
Clear the ModelState (or just the Groups key) before rendering your partial view.
This:
ModelState.Clear();
ModelState.Remove("Groups");
return PartialView(model);
Works.
Next time try showing all relevant code up front, so we don't need so many comments asking you to. :-)