We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cc603d commit b952038Copy full SHA for b952038
components/vc-tree-select/OptionList.tsx
@@ -152,7 +152,7 @@ export default defineComponent({
152
// >>> Select item
153
case KeyCode.ENTER: {
154
const { selectable, value } = activeEntity.value?.node || {};
155
- if (selectable !== false) {
+ if (activeEntity.value && selectable !== false) {
156
onInternalSelect(null, {
157
node: { key: activeKey.value },
158
selected: !legacyContext.checkedKeys.includes(value),
0 commit comments