Initial Login Alpine Error

Hello, I have an odd and reproducible bug. I have a filament panel, with basic table widget. When a user logs in, alpine throws an error and the user menu is visibly corrupt, and the side bar is corrupt. See provided screen shots. After a clicking the refresh button on the browser, then the panel builds as expected. All other navigation looks as expected. The errors and issue only seems to present when the user intially logs in. I can provide additional javascript alpine errors if requested. Any thoughts?
No description
No description
8 Replies
Shaung Bhone
Shaung Bhone6mo ago
Is SPA mode?
sigmarhophi
sigmarhophi6mo ago
I did not enable spa mode on the panel, but I can try it and see if that makes a difference. adding spa mode did not make a difference.
Shaung Bhone
Shaung Bhone6mo ago
I think you made a configuration by yourself. It's your code issue, show your code.
Dennis Koch
Dennis Koch6mo ago
Try clearing your localStorage Did you modify any view files of Filament?
sigmarhophi
sigmarhophi6mo ago
I did all the vanilla filament commands and configurations from the official site. Nothing out of the ordinary. I will gladly show code, what file would you like to see? the panel config? the dashboard page? Thank you for the suggestion. I will clear local storage and try again. Additionally, I do not believe I have modified any view files. All changes have been vanilla changes as exampled via the official documentation.
Dennis Koch
Dennis Koch6mo ago
Can you share the Filament section of php artisan about
sigmarhophi
sigmarhophi6mo ago
sorry, not for sure on how to make the post smaller upgraded to 3.1.23, and I cleared local storage. Issue still remains. Ok, so I found out how to reproduce the issue. When using laravel's breeze login form and default auth process, if you overwrite the $home variable to point to any filament dashboard, OR do any type of redirect to a filament dashboard, then the alpine error shows up. so I guess my next question, what is the correct way to redirect from laravel's breeze auth process to a filament dashboard?