Row actions in relationship manager not doing anything
I have the folowing in my table method
but when I click on the buttons nothing hapens. Any ideas on what might be happerning?
34 Replies
Is it ?
That is a typo of me typing it in here sorry
BTW, this is on a many-to-many relationship with pivot attributes.
I have tried creating a new Relationship Manager and still the defualt row buttons do not do anything.
Hi we have found that other relationship manager table dissociate buttons are not doing anything. Realy could do with some help with this please.
Still looking for some help on this.
What version of filament, can what console errors exist when you click said buttons
Have you build a form on the relation manager?
@toeknee v3, there are no errors, I have built a from in the relation manager
Please provide the action and the form?
I also tried with a newly created relationship manager an nothing happend
Here are the acctions and form code
@toeknee dose this help or is there any more if I can give to help diagnose the issue?
Change relative to live. And remove visible for now
@toeknee No change unfotunatly. And still no errors in the console.
Weird.. .can you provide a repoduction repo so we can test
I will see what I can do.
@MikePageDev i think this might be the issue:
when u created the relation manager u created it like this:
when u actually need this one:
because the relationship is
BelongsToMany
docs:
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#associating-and-dissociating-records
vs
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#attaching-and-detaching-recordsThank you for the heads up. I have just changed the accttions from Dissociate to Detach but the row buttons are still not doing anything.
share the models eloquent relationships
They are both
BelongsToMany
i mean share the definition of the relationships
public function ...
Would it be to do with the relationship definition if the attach action is working?
Hi All I am still having issues with this if someone could help please?
hi, dont understand wdym here https://discord.com/channels/883083792112300104/1211781526598062141/1215027977499443330
In the relationship table, I have a header action,
attach
which is working fine. The issue is that the row actions, edit
and detach
do nothing.can u share the table actions?
The
DetachBulkAction
also works finePlease run: php artisan about
What info ar you looking for?
filament version.
please update filament first.
we are on .69
OK I will give that a go
Just run it, and Filament updates to .47 (still no joy with the actions)
@toeknee @ericmp any other thoughts?
You should be on Filament .69 as per #🏷┊releases I remember someone mentioned it so guessing it might be resolved. once you are on .69 if you still have the issue can you please create a reporduction repo
I have run composer update and it will only take me to .47
Does it say why it won't update beyond .47?
no, just getting a message to say that there is nothing to upgrade
have you run a composer update?
Sorry I will get back to this ASAP having some other technical difficulties
@toeknee I am now on .69, but the inline accounts are still not doing anything.
An you create a reproduction repo to debug
I will see what I can do.