mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed model binder for checkboxes
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user