Fix checkbox

This commit is contained in:
Daniel Bulant 2020-04-14 17:30:25 +02:00
parent 225222e511
commit a6b1a39a0f

View file

@ -75,7 +75,7 @@
.key {
width: 30px;
}
.extra {
width: 35px;
}
@ -204,7 +204,7 @@
case "null":
let cb = document.createElement("input");
cb.type = "checkbox";
cb.value = (column[field] === "YES" ? 1 : 0);
cb.checked = column[field] === "YES";
cb.disabled = true;
column[field] = cb;
case "extra":