diff --git a/app/Filament/Components/Forms/Fields/CopyFrom.php b/app/Filament/Components/Forms/Fields/CopyFrom.php index fa94293fa..cc3aa6215 100644 --- a/app/Filament/Components/Forms/Fields/CopyFrom.php +++ b/app/Filament/Components/Forms/Fields/CopyFrom.php @@ -28,7 +28,7 @@ class CopyFrom extends Select { $this->helperText(trans('admin/egg.copy_from_help')); - $this->relationship('configFrom', 'name'); + $this->relationship('configFrom', 'name', ignoreRecord: true); $this->afterStateUpdated(function ($state, Set $set) { $set('copy_script_from', $state); @@ -52,7 +52,7 @@ class CopyFrom extends Select public function script(): static { - $this->relationship('scriptFrom', 'name'); + $this->relationship('scriptFrom', 'name', ignoreRecord: true); $this->afterStateUpdated(function ($state, Set $set, Component $livewire) { if ($state === null) {