Now Boolean is fixed? Time will only tell.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
@model Boolean
|
@model Boolean?
|
||||||
|
|
||||||
@{
|
@{
|
||||||
Layout = "_FieldLayout.cshtml";
|
Layout = "_FieldLayout.cshtml";
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
|
|
||||||
@Html.CheckBox(
|
@Html.CheckBox(
|
||||||
"",
|
"",
|
||||||
Model,
|
Model.HasValue && Model.Value,
|
||||||
htmlAttributes)
|
htmlAttributes)
|
||||||
|
|||||||
Reference in New Issue
Block a user