title: The model's Hidden bool field remains False after it was set True in the controller
body: <p>I have this property in my ViewModel class:</p>
  
  <p><code>public bool AreSimilarEntitiesChecked { get; set; }</code></p>
  
  <p>In my controller I set its value 'true' and return the View with the model:</p>
  
  <pre><code>model.AreSimilarEntitiesChecked = true;
  
  return View(model).WithWarning("Check the similar mentors before saving!");
  </code></pre>
  
  <p>On my View there is a form where I placed a hidden filed of this property:</p>
  
  <pre><code>@Html.HiddenFor(m =&gt; m.AreSimilarEntitiesChecked)
  </code></pre>
  
  <p>After the View returned with the model that contains the AreSimilarEntitiesChecked its value remains False desipte the fact I set the True valuse in the controller. </p>
  
  <p>I don't know what could be wrong with it.</p>
  
  <p>Generated HTML:</p>
  
  <pre><code>&lt;input name="AreSimilarEntitiesChecked" id="AreSimilarEntitiesChecked"
   type="hidden" value="False" data-val-required="The AreSimilarEntitiesChecked
   field is required." data-val="true"&gt;
  </code></pre>