Expecto Patronum
Expecto Patronum
FFilament
Created by Expecto Patronum on 7/5/2024 in #❓┊help
Set Dark Mode For Individual User ?
sorry for the confusion . My question is how to let user can set their own theme from default filament theme mode . Because right now . filament have dark mode. so imagine i have few user . so every user can set their own mode to set light or dark mode for their own account .
9 replies
FFilament
Created by Expecto Patronum on 7/5/2024 in #❓┊help
Set Dark Mode For Individual User ?
i means like . every user can set their own theme instead reflect to all user by depending on panel . Any ideas ?
9 replies
FFilament
Created by Expecto Patronum on 7/2/2024 in #❓┊help
How To Change Position of UserMenu ?
okay great . thanks for your help
13 replies
FFilament
Created by Expecto Patronum on 7/2/2024 in #❓┊help
How To Change Position of UserMenu ?
No description
13 replies
FFilament
Created by Expecto Patronum on 7/2/2024 in #❓┊help
How To Change Position of UserMenu ?
thanks . it worked . but how to dropdown next to the logo? instead need to click logo to popup menu?
13 replies
FFilament
Created by TranceCode on 7/2/2024 in #❓┊help
Hidden save and cancel button in form wizzard?
You can apply on edit and create page protected function getFormActions(): array { return []; }
6 replies
FFilament
Created by Franck on 9/26/2023 in #❓┊help
How to put user icon with user menu in the side nav bar ? At bottom left
Hi . Do you know how to do it ? Im still searching how to do it . Sorry bcs im still new in filament .
4 replies
FFilament
Created by Pscl on 6/27/2024 in #❓┊help
Using a page with HasFiltersForm and InteractsWithRecord or a dashboard as page
Have you try to set ->dashboard(DashboardCustomPage::class) in your provider?
3 replies
FFilament
Created by Expecto Patronum on 6/28/2024 in #❓┊help
How To Close Modal Action After Successful Run in extraModalFooterActions?
it worked! . Thanks man
5 replies
FFilament
Created by Expecto Patronum on 6/19/2024 in #❓┊help
Does Table Query Support Double Query? Or Filament Bug? Or Issue On Code?
I am really stuck over here ? Does my code is issue or maybe some filament bug from collection that connot handle 2 query?
4 replies
FFilament
Created by Expecto Patronum on 6/19/2024 in #❓┊help
Does Table Query Support Double Query? Or Filament Bug? Or Issue On Code?
Anyone?
4 replies
FFilament
Created by Expecto Patronum on 6/13/2024 in #❓┊help
Change Sizing of SimplePage In View File?
Do you have any ideas how to do that?
5 replies
FFilament
Created by christmex on 6/9/2024 in #❓┊help
Extending FIlament register Pages error when use relationship like select
The error seems like user table doesnt have column school id ?
6 replies
FFilament
Created by Expecto Patronum on 6/8/2024 in #❓┊help
PlaceHolder Form Component in Infolist Section
okay its worked! . Thanks for your help
7 replies
FFilament
Created by Expecto Patronum on 6/8/2024 in #❓┊help
PlaceHolder Form Component in Infolist Section
because i want to achieve to count attribute from relation manager in owner resource . i already try implement with placeholder . its working but i want to use infolist . so searching other way in infolist same as placeholder . Below is my code . in my owner resource form : Forms\Components\Placeholder::make('payments_count') ->label('Jumlah Keseluruhan Bayaran') ->content(function (PaymentLog $record) { return new HtmlString(" <table style='width: 100%;'> <tr> <td><strong>Jumlah:</strong></td> <td> RM " . number_format($record->totalAmount(), 2) . "</td> </tr> </table> "); }) in my model : public function paymentLogItem() { return $this->hasMany(PaymentLogItem::class); } public function totalAmount(): int { return $this->paymentLogItem->sum('amount'); } in my relation manager form : textinput::make('amount')
7 replies
FFilament
Created by developer on 6/5/2024 in #❓┊help
same model policy: multiple resources
because im also using multiple resource for 1 model . having an issue to set policy on them
13 replies
FFilament
Created by developer on 6/5/2024 in #❓┊help
same model policy: multiple resources
but can you show me how to do set in authorizeAccess ?
13 replies
FFilament
Created by developer on 6/5/2024 in #❓┊help
same model policy: multiple resources
i see
13 replies
FFilament
Created by developer on 6/5/2024 in #❓┊help
same model policy: multiple resources
Can you show example in your policy file?
13 replies
FFilament
Created by developer on 6/5/2024 in #❓┊help
same model policy: multiple resources
How to you set in the policy? Do you call User only or with Model that u using?
13 replies