Fix group-accordion value initialization (#18638)

* Fix `group-accordion` `groupValue` initialization

* Add changeset
This commit is contained in:
Hannes Küttner
2023-05-17 16:15:26 +02:00
committed by GitHub
parent 342295927b
commit 164c9c2f80
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed `group-accordion` value initialization for usage in extension options

View File

@@ -103,7 +103,7 @@ function toggleAll() {
function useComputedGroup() {
const groupFields = ref<Field[]>(limitFields());
const groupValues = ref<Record<string, any>>({});
const groupValues = ref<Record<string, any>>(props.values);
watch(
() => props.fields,