F
Filament2mo ago
3rgo

Can replicateAction be used with a form ?

I would like to use the TableAction ReplicateAction, but I need my user to update some of the fields on the new model (in my case date fields). I have tried to add a ->form([ ... ]) , and the fields appear properly and everything, but when it's saved, my form content is ignored. I have tried implementing the beforeReplicaSaved method, but it cannot evaluate $form or $state. Anyone know what I can do ? Otherwise I'll create a custom action but I'd rather not if I can use the built-in one. Thanks !!!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?