Skip to content

Commit

Permalink
Fix hidden field that was causing issue when updating.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDesjardins committed May 30, 2016
1 parent af34828 commit d1d416f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
var val = string.IsNullOrEmpty(Model.SelectedItems[i].ExtendedProperty) ? string.Empty : Model.SelectedItems[i].ExtendedProperty;
<li class="ui-state-default @iconClass" data-extended-value="@val">
<span class="description">@Model.SelectedItems[i].Description</span>
@Html.HiddenFor(x => Model.SelectedItems[i].ID)
<input type="hidden" id="@string.Concat(controlSelectedItemsPropertyName, "_", i, "__Id")"
name="@string.Concat(controlSelectedItemsPropertyName, "[", i, "].Id")"
value="@selectedItem.Id"/>
</li>
}
}
Expand Down

0 comments on commit d1d416f

Please sign in to comment.