Fixed model binder for checkboxes

pull/4/head
Mark McDowall 12 years ago
parent c3c6c8ac01
commit 9345211536

@ -412,7 +412,8 @@
break; break;
case 'checkbox': case 'checkbox':
if (convertedValue) { if (convertedValue) {
el.attr('checked', 'checked'); //Fixing this while we wait for an official update
el.prop('checked', 'checked');
} }
else { else {
el.removeAttr('checked'); el.removeAttr('checked');

Loading…
Cancel
Save