Hugo
Import / Export Session expired & logout - Export with random table info.
I've tested it on a table with 18 records and 4/5 times it logs me out. The loading animation takes a little longer and then it just logs me out. The one time it worked fine.
4 replies
canView widget
what I got from testing is that canView() is the first thing to be checked as soon as the page tries to show the widget. I've tried to dd on the render and even on the mount and they are only called after the canView() method. This is my thought process, idk if its really like that but it would never go inside the render or mount method before the canView().
14 replies
canView widget
Hey, it might have nothign related to this but, is there a way I can hide the widget if it has no data? It just shows a blank rectangle when there is no data to show on the chart widget. I tried to do this with canView method and it works when im not doing a query to a specific $record but when my chart has a record, I can't access the $this->record inside the canView method since it says it's not an object. Is there a way to just hide the widget when there's no data to show?
14 replies
sticky table header
what im missing at the moment is the horizontal scroll on the table with the sticky header as it is with that css i've provided. Im not specialist in CSS, so if anyone has a good suggestion to how I can achieve that behavior i'd be glad. Thank you.
6 replies
sticky table header
Hello, Im actually also using awcodes's sticky header but that is not what im looking for. I've come quite close to achieving what I want with the following css The problem im facing now with unsetting the overflow from the .fi-layout is that the extra columns are showing outside the table. With the default .fi-layout, horizontal scroll is not possible.
6 replies
Theme doesn't apply on dashboard page
Solved this issue aswell. For anyone that goes through the same, in order to manage where to redirect the user after login, I had a customFilamentLogin class set on . In this class I overwrote the authenticate method to update the last_login_at column and I also then created a CustomLoginResponse:class extending filament's LoginResponse and I overwrote the toResponse method and just managed where the user should be redirected to
11 replies
Theme doesn't apply on dashboard page
Found the issue. I was redirecting users on their first login ever to the profile page and the ones that had login before to the dashboard page. This was applying the default filament styles. This fixes the issue I had with filament styles but now I don't have an asnwer for the solution I implemented for users to be redirected because using the route will just apply the filament's default styles. This is what was causing the issue. If anyone has any clue how can i still make this route work without having to change the styles, ill glady appreaciate.
11 replies