oks_voice123
Session ID is not shown properly
Hello , I want to have a table where I display the session within my app , I can see everything correctly behalve the id of the session which is always represented by 0 but the search on the real value works perfectly .
Do you know why I can't see the value of the session ?
Many thanks
4 replies
ok simple request on table TextColumn
How can I for a table populate a colum(A) with the value of another column(B) from the same row if the cell/column A is empty ?
Placeholder or default doesn't permit to be dynamic
Sorry for this simple question but as newbie I'm still learning and sometimes I'm not so experienced to find the best approach / solution to implement
Many thanks
7 replies
Issue with notification on livewire component table for public page
On a public page where I deployed the my table . I have a toggle button which need to perform a notification .
Inside this component , the notification is not sent .
But sometimes , i'm receiving these notifications instead in the admin panel
Is this something to define within the livewire component
Many thanks
7 replies
Completely lost on relationship with table as livewire component
Hi all ,
I'm completely lost with the Table component as livewire component . Sorry to ask it like that but I'm newbie on this 🙂
So I need to have a public page with a Table inside as the authentication is done via another software which is loading my public page within the application.
I have eveything which is working fine under the Panel for the admin site .
I have an User Model and a LineGroup Model ... There is a Many-to-Many relationship with a pivot table and extra-columns .
When I'm using the RelationsManager within the admin panel . All relations are loaded perfectly and so on .
Now my public page should retrieve the username from the URL ( hardcoded in the URL) but in my pivot table , the username is referring to its ID via the User Model and the LineGroup Model .
When I'm reading this --> https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#:~:text=%23-,Building%20a%20table%20for%20an%20Eloquent%20relationship,-If%20you%20want . It seems that it is what I need .
But in every case , I have no clues how I can populate my data for the table or how can I access my pivot table ?
Can you point me in which direction I need to go ?
Sorry but this is something completely new for me
Many thanks
9 replies
Issue with RelationManager in one direction when I want to attach an element
Hi , I'm encountering the following issue with 2 models on which I have deployed a Many-to-Many relationship .
So I have created two RelationManagers that I 'm using back and forth on my 2 resources defined and it seems to work but within one of my resources when I'm using the RelationManager associated and that I want to attach an existing element in my table . I got the error message -> BadMethodCallException: "Call to undefined method App\Models\ ...". I have doublecheck many time my relation in both of my models but the relation is well present .
In the same error page for the explanation about bad method call , it seems that it suggest me the correct relationship
If I'm defining the same without the RelationManager for this resource but just using a regular expression select within the form with the relationship and so on then it is working fine . In that case my pivot table is well updated .
I don't know why it is not working because I'm using the same relation but back and forth
My Model 1 relation is defined as follow:
And I think that this one if working well because I can acess my users defined in this model
The other Model relation is defined as :
`
It is just with the attach action on this relation that it is not working . The DetachAction is working well
As newbie , not sure what I'm doing wrong .
Many thanks
3 replies