fix: prevent selection when selectable is set to false (checkbox mode)
parent
96ad315316
commit
8d9c5848ce
|
@ -21,6 +21,7 @@
|
||||||
:modelValue="checked"
|
:modelValue="checked"
|
||||||
:binary="true"
|
:binary="true"
|
||||||
:class="cx('pcNodeCheckbox')"
|
:class="cx('pcNodeCheckbox')"
|
||||||
|
:readonly="node.selectable === false"
|
||||||
@change="toggleCheckbox"
|
@change="toggleCheckbox"
|
||||||
:tabindex="-1"
|
:tabindex="-1"
|
||||||
:indeterminate="partialChecked"
|
:indeterminate="partialChecked"
|
||||||
|
|
Loading…
Reference in New Issue