Array of ID to Other Values in a Table Column
I use multi select that returns an array of id in create/edit pages, how do i change it to other values when viewing it in the tables column ? Or better yet return the name instead of id in create/edit
10 Replies
Can you post your code.. I think you didn't set up relationship properly 😆
I dont use relationship, or should i use it in this case?
Basically I multi-search the names then store it inside array
Post your code, read #✅┊rules for format, I am not sure your use case but yes relationship should do what you're looking for
those are the ones i use in the create/edit forms
This is how I did using relationship, hope you can have idea
Thanks
I mean it is showing correctly in the table, but it only shows the id, did u also customize the table column?
Oh, we're talking about table right.. though it's form..
Yeah, I know how to access the array outside filament, i just dont know how to use it on filaments table columns
This is how I display in table
So, in my use-case, the relationship handles everything..
hmm i see thanks