yangsystem
yangsystem
FFilament
Created by yangsystem on 8/18/2024 in #❓┊help
Relationship table on modal? or NEW action on table action page?
I managed to find out that if I create a Resource with -- generate --simple and add a RelationManager to it I will not see the Relation div. After some struggling/searching/reading posts/searching tutorials... I recreated the Resource with --generate and registered the relation manager to it and I see the table with all functions. If I comment the
'edit' => Pages\EditAgenti::route('/{record}/edit'),
'edit' => Pages\EditAgenti::route('/{record}/edit'),
the edit will move to a modal and I do not see the table anymore. I need an option to add the RelationManager panel on the modal, or even better I want a custom action button on the view page that will open the create form and save to the relation's Model. somethink like:
Action::make("add-new-to-relation's-model")
Action::make("add-new-to-relation's-model")
that will open a modal where I have what I configure in the relation's form.
21 replies