dreftas
dreftas
Explore posts from servers
FFilament
Created by dreftas on 6/2/2024 in #❓┊help
Limit table/global search term length
Is it possible to limit table/global search term length ? For example to allow only search term up to 128 characters length.
2 replies
FFilament
Created by dreftas on 4/20/2024 in #❓┊help
Filament::auth()->login();
Situation: - I am logged in to panel as User1 - I go to
myapp.test/somepage
myapp.test/somepage
page which is outside of panel. - In that page I call
Filament::auth()->login($anotherUserModel);
Filament::auth()->login($anotherUserModel);
($anotherUserModel is another user) - Then I redirect back to my panel - And I get
Route [login] not defined.
Route [login] not defined.
error. And I'm not logged in as $anotherUserModel I don't get this error if I call
Filament::auth()->login($anotherUserModel)
Filament::auth()->login($anotherUserModel)
when I'm currently not logged in as some other user. I tried to do
Filament::auth()->logout()
Filament::auth()->logout()
before
Filament::auth()->login($anotherUserModel)
Filament::auth()->login($anotherUserModel)
but that does not help. Am I missing something?
6 replies