Why is this checkbox[list] returning 1 or false?
===

When I checked both checkboxes, I get "1". When I check the first checkbox, I get "1". When I check only the second checkbox, I get "false". Why is that? The code and resulting HTML below.

    @model InspectionWebFormsMVC.ViewModels.CtrlInputDataModel
    
    @{
        var ddv = new SelectList(Model.RowCtrl.DefaultValues, "Value", "Label");
    
        switch (Model.RowCtrl.Type)
        {
            case "checkbox":
                foreach (var sli in ddv)
                {
                    @Html.LabelFor(blah => blah.InputtedData, sli.Text)
                    
                    bool isChecked = false;
                    string attrChecked = "checked";
                    if (Model.InputtedData == sli.Value){
                        isChecked = true;
                        @Html.CheckBox("InputtedData", isChecked, new { @value = sli.Value, @checked = attrChecked })
                    }
                    else {
                        isChecked = false;
                        @Html.CheckBox("InputtedData", isChecked, new { @value = sli.Value })
                    }
    
     
                }
                    @Html.HiddenFor(blah => blah.InputtedDataID)
                    @Html.HiddenFor(blah => blah.RowCtrl.CtrlTypeID)
     
                    <br />
            break;
        }
    }

Resulting HTML:

    <label 	for="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__InputtedData">Red</label>
    
    <input 	id="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__InputtedData" 
    		name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].InputtedData" 
    		type="checkbox" 
    		value="1" />
    		
    <input 	name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].InputtedData" 
    		type="hidden" 
    		value="false" />
    		
    <label 	for="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__InputtedData">Super</label>
    
    <input 	checked="checked" 
    		id="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__InputtedData" 
    		name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].InputtedData" 
    		type="checkbox" 
    		value="2" />
    		
    <input 	name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].InputtedData" 
    		type="hidden" 
    		value="false" />
    		
    <input 	data-val="true" 
    		data-val-number="The field InputtedDataID must be a number." 
    		data-val-required="The InputtedDataID field is required." 
    		id="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__InputtedDataID" 
    		name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].InputtedDataID" 
    		type="hidden" 
    		value="5" />
    		
    <input 	data-val="true" 
    		data-val-number="The field CtrlTypeID must be a number." 
    		data-val-required="The CtrlTypeID field is required." 
    		id="sectionRows_a7d91de2-c828-4cd4-979d-783caf85ae3b__RowInput_0__RowCtrl_CtrlTypeID" 
    		name="sectionRows[a7d91de2-c828-4cd4-979d-783caf85ae3b].RowInput[0].RowCtrl.CtrlTypeID" 
    		type="hidden" 
    		value="5" />

