Matteo De Blasis
Matteo De Blasis
FFilament
Created by Matteo De Blasis on 8/22/2024 in #❓┊help
Custom redirect after login from livewire component
@toeknee Do you think that is there a problem in my authenticate function? Because my problem is: if i login for the first time with role1 user, i do the logout and then try to login with role2 user, the application recognizes the right user (role2 user) but the system continue to redirect me to role1 user panel. Is it possible that there is a problem with session? or anything else?
4 replies
FFilament
Created by Matteo De Blasis on 3/15/2024 in #❓┊help
ExportAction problem
Thanks you!
8 replies
FFilament
Created by Matteo De Blasis on 3/15/2024 in #❓┊help
ExportAction problem
Yess
8 replies
FFilament
Created by martin-ro on 12/22/2023 in #❓┊help
Default Select
i resolve with formatStateUsing
5 replies
FFilament
Created by martin-ro on 12/22/2023 in #❓┊help
Default Select
Hello! i need to continue this post because, i have the same problem but maybe i don't understand how to use $set. This is my select: Select::make('category')->label('Category ad') ->options(function(Ad $record):array { return array_keys($record->city->categories); }) ->default(fn (Set $set, Ad $record) => $set('category', array_search($record->category['name'], array_keys($record->city->categories)))) array_keys($record->city->categories) = ['Mobile', 'Phone', etc] "category" is a real table column, but inside it i have a array like that ["name" => "Mobile", "point" => '1'], i try to use $set with array_search for having index of categories using "name" key, but nothing happens. My form is loaded with EditAction. Thanks you
5 replies
FFilament
Created by bernhard on 6/28/2023 in #❓┊help
TableWidget with morphTo and groupedBy
No description
3 replies
FFilament
Created by torriv on 10/21/2023 in #❓┊help
Add styles to tailwind
I haven't tried in a production server yet, I'm trying locally with xampp. I opened the terminal as administrator but nothing changed
47 replies
FFilament
Created by torriv on 10/21/2023 in #❓┊help
Add styles to tailwind
I am in local
47 replies
FFilament
Created by torriv on 10/21/2023 in #❓┊help
Add styles to tailwind
the system create a folder called "postcss.config.js"
47 replies
FFilament
Created by torriv on 10/21/2023 in #❓┊help
Add styles to tailwind
No description
47 replies