diff --git a/resources/views/components/nested-fields.blade.php b/resources/views/components/nested-fields.blade.php index e4137835..c9cc2c8d 100644 --- a/resources/views/components/nested-fields.blade.php +++ b/resources/views/components/nested-fields.blade.php @@ -67,7 +67,7 @@ 'required' => $subfield['required'] ?? false, 'description' => $subfield['description'] ?? '', 'example' => $subfield['example'] ?? '', - 'enumValues' => $field['enumValues'] ?? null, + 'enumValues' => $subfield['enumValues'] ?? null, 'endpointId' => $endpointId, 'hasChildren' => false, 'component' => 'body',