From 5bad17d15ef1b2c2e448cbff07565e547736a6cb Mon Sep 17 00:00:00 2001 From: Bastian Allgeier Date: Tue, 3 Dec 2024 18:46:15 +0100 Subject: [PATCH] Fix broken values method --- src/Form/Field/LayoutField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/Field/LayoutField.php b/src/Form/Field/LayoutField.php index 93de9a1872..74d4be19a9 100644 --- a/src/Form/Field/LayoutField.php +++ b/src/Form/Field/LayoutField.php @@ -105,7 +105,7 @@ public function fill(mixed $value = null): void foreach ($layouts as $layoutIndex => $layout) { if ($this->settings !== null) { - $layouts[$layoutIndex]['attrs'] = $this->attrsForm($layout['attrs'])->values(); + $layouts[$layoutIndex]['attrs'] = $this->attrsForm($layout['attrs'])->toFormValues(); } foreach ($layout['columns'] as $columnIndex => $column) {