This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Some string-based HTML helpers can't get Model
values if called from templates #1485
Closed
Description
@Html.Checkbox()
, @Html.Hidden()
, and @Html.TextBox()
do not behave as expected in template views. They resolve values using the full expression names (which won't find properties of the inner model), unlike all other HTML helpers. This leads to unexpectedly empty values in the generated HTML.