F
Filament16mo ago
jouni.i

ReplicateAction. How save relationship

->action(function (Medication $record, array $data) { $replica = $record->duplicate(); $replica->fill($data); if ($replica->save()) { Notification::make() ->title('Replication complete') ->success() ->send(); } now issue is relations saved field what i replicate
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?