Relationship Manager AttachAction custom form
Hi all,
I try to attach Employee model to Training Model. In the table employee_tainings there is a required training_session_id. I would like to modify the AttachAction form to have another field so that user can select training session before submiting. However, No matter I try to change form() in configurationAttachAction(), it won't affect . Please advise how I would do this.
Solution:Jump to solution
I just found that I could not do it from function configureAttachAction, but it works on header action extensiion itself.
```php
$table->headerActions([
Tables\Actions\AttachAction::make()
->form(fn(AttachAction $action): array => [...
1 Reply
Solution
I just found that I could not do it from function configureAttachAction, but it works on header action extensiion itself.