diff --git a/resources/views/dashboard/pages/edit-item.blade.php b/resources/views/dashboard/pages/edit-item.blade.php index ff170ae..8755193 100644 --- a/resources/views/dashboard/pages/edit-item.blade.php +++ b/resources/views/dashboard/pages/edit-item.blade.php @@ -19,7 +19,7 @@
@foreach($columns as $column)
- @set('value', $item[$column['name']]) + @set('value', $item !== null ? $item[$column['name']] : '') @set('type', $id == 'new' && array_key_exists('type-new', $column) ? $column['type-new'] : $column['type']) @if($type == 'hidden')