diff --git a/src/resources/views/crud/form/page_editor_dynamic_content.blade.php b/src/resources/views/crud/form/page_editor_dynamic_content.blade.php index 9cb0442..86cb702 100644 --- a/src/resources/views/crud/form/page_editor_dynamic_content.blade.php +++ b/src/resources/views/crud/form/page_editor_dynamic_content.blade.php @@ -49,10 +49,8 @@ ]); @endphp - @include('crud::fields.' . $data['type'], [ - 'field' => $field, - 'crud' => $crud, - ]) + + @include($crud->getFirstFieldView($field['type'], $field['view_namespace'] ?? false), $field) @endforeach