I am using MVC6 and have a checkbox input field in my form, but when the form is submitted the value for the checkbox always gets passed to the ViewModel as false:
After letting Visual Studio generate the form based on my ViewModel here is how it does it:
Additionally, I was missing the closing of my input tag. So it can also be done like this which is the bootstrap preferred way:
@Html.DisplayNameFor(m => m.isTaxable)