mirror of
https://github.com/directus/directus.git
synced 2026-01-23 13:37:58 -05:00
Allow to select checkbox entry when children is null (#17783)
This commit is contained in:
@@ -122,7 +122,7 @@ const treeValue = computed({
|
||||
const added = difference(newValue, props.modelValue);
|
||||
const removed = difference(props.modelValue, newValue);
|
||||
|
||||
if (props.children.length > 0) {
|
||||
if (Array.isArray(props.children) && props.children.length > 0) {
|
||||
switch (props.valueCombining) {
|
||||
case 'all':
|
||||
return emitAll(newValue, { added, removed });
|
||||
|
||||
Reference in New Issue
Block a user