diff --git a/resources/views/models/edit.blade.php b/resources/views/models/edit.blade.php index 74d3c1b83c..73220ae6ba 100755 --- a/resources/views/models/edit.blade.php +++ b/resources/views/models/edit.blade.php @@ -33,6 +33,11 @@ +@php + if (is_null($item->id)){ + $item->id = $item->getOriginal('id'); + } +@endphp @livewire('custom-field-set-default-values-for-model',["model_id" => $item->id])