Fix tree-select not allowing groups to be opened in selection mode

This commit is contained in:
rijkvanzanten
2021-09-01 18:25:11 -04:00
parent 8f5bfa45b7
commit 170ba3568a

View File

@@ -133,7 +133,8 @@ export default defineComponent({
(child) =>
props.modelValue.includes(child[props.itemValue]) ||
childrenHaveValueMatch(child[props.itemChildren]) ||
props.modelValue.includes(props.parentValue)
props.modelValue.includes(props.parentValue) ||
props.modelValue.includes(props.value)
);
}