Browse Source

fix(nc-gui): correctly access readonly

pull/4179/head
braks 2 years ago
parent
commit
840fcba0d3
  1. 2
      packages/nc-gui/components/cell/Checkbox.vue

2
packages/nc-gui/components/cell/Checkbox.vue

@ -38,7 +38,7 @@ const checkboxMeta = $computed(() => {
}) })
function onClick() { function onClick() {
if (!readOnly) { if (!readOnly?.value) {
vModel = !vModel vModel = !vModel
} }
} }

Loading…
Cancel
Save