I have an bool property in a class. And using <%= Html.EditorForModel() %>
its generating this code:
<div class="editor-field">
<input class="check-box" id="Ativo" name="Ativo" type="checkbox" value="true">
<input name="Ativo" type="hidden" value="false">
</div>
My question is: why it's creating an input hidden ?