F
Filamentβ€’3mo ago
SKNtheKing

emptyStateHeading and emptyStateDescription not working in RelationManager tables

Good evening, I'm trying to change the heading and description on a relation manager empty table and using these function does not work. Is it supposed to or a bug? If it is, how could i change these without the functions? Thanks you in advance
Solution:
it was supposed to work if you are using this to the relation manager class ```php return $table ->emptyStateHeading('xxx')...
Jump to solution
4 Replies
Solution
LeandroFerreira
LeandroFerreiraβ€’3mo ago
it was supposed to work if you are using this to the relation manager class
return $table
->emptyStateHeading('xxx')
->emptyStateDescription('yyy')
return $table
->emptyStateHeading('xxx')
->emptyStateDescription('yyy')
SKNtheKing
SKNtheKingOPβ€’3mo ago
im using those functions as you can see in the printscreen, in the relationmanager class, but its not working
No description
LeandroFerreira
LeandroFerreiraβ€’3mo ago
could you show a screenshot of the table?
SKNtheKing
SKNtheKingOPβ€’3mo ago
I am so sorry, I had two projects open at the same time and had been working for like 10 hours straight and didn't even notice i was changing the code in the wrong window of my IDE, now that I picked this up fresh i realized the class i was supposed to be working on didnt have those lines of code, and checked back and the other project's class had it, im dumb, im sorry for wasting your time πŸ˜‚
Want results from more Discord servers?
Add your server