CodeWithDennis
CodeWithDennis
FFilament
Created by Nobody on 12/16/2024 in #❓┊help
Is It Possible to Use a Single Login URL for All Roles in Filament Shield?
I just didn't have time to work on it yet, but thanks for doing my job. 🤣
28 replies
FFilament
Created by Nobody on 12/16/2024 in #❓┊help
Is It Possible to Use a Single Login URL for All Roles in Filament Shield?
Probably!
28 replies
FFilament
Created by Nobody on 12/16/2024 in #❓┊help
Is It Possible to Use a Single Login URL for All Roles in Filament Shield?
Haven't fixed it yet 👀
28 replies
FFilament
Created by Nobody on 12/16/2024 in #❓┊help
Is It Possible to Use a Single Login URL for All Roles in Filament Shield?
Not related to this issue, but wanted to put it here since you guys are talking about it That tutorial was fantastic and really helpful! ✨ Suggestion: It would be great to see another follow-up tutorial that ensures the login page redirects to the correct panel when already logged in. Right now, it just goes to the default panel instead of the one set up in the responses. Feel free to me PM if you need more details 😉 @Povilas K
28 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
You don't need raw queries you can still do it with ORM but just needs to know how.
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
I think you should take a look at your getStatusAttribute logic.
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
Yes, but was just refering to your statement.
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
You should check debugbar and check how many queries are executed.
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
But looking at this code it might not be a great approach 😅
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
Thats not true, we have the concurrency helper. https://www.youtube.com/watch?v=PMEQ93kBc7U
18 replies
FFilament
Created by Garadit on 10/31/2024 in #❓┊help
Lazy load table column
Can you show me that column?
18 replies
FFilament
Created by jjo63 on 10/22/2024 in #❓┊help
Adding a record count alongside a navigation link
No.
10 replies
FFilament
Created by jjo63 on 10/22/2024 in #❓┊help
Adding a record count alongside a navigation link
I made a post about navigation badges yesterday hopefully it helps; https://x.com/CodeWithDennis/status/1848263961294041246 (Laravel v11.23 if you want to use Flexible)
10 replies
FFilament
Created by xy on 10/20/2024 in #❓┊help
How to make sure only one navigation group gets uncollapsed
Perhaps you can do something with the localStorage.collapsedGroups ?
2 replies
FFilament
Created by Kaaiman on 10/22/2024 in #❓┊help
SelectFilter default not working
^ So like @toeknee said you should use an array, but since you also use an enum you need to grab the value of that enum.
8 replies
FFilament
Created by Kaaiman on 10/22/2024 in #❓┊help
SelectFilter default not working
Well because you use multiple it expects an array of values.
8 replies
FFilament
Created by Kaaiman on 10/22/2024 in #❓┊help
SelectFilter default not working
Make sure you use RefundStatus::Pending->value.
8 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
Maybe you can find something useful in this code.
Tables\Actions\Action::make('quickEdit')
->fillForm(fn(Company $record) => $record->toArray())
->form(fn(Form $form) => CompanyResource::form($form))
->action(fn(Company $record, array $data) => $record->update($data))
Tables\Actions\Action::make('quickEdit')
->fillForm(fn(Company $record) => $record->toArray())
->form(fn(Form $form) => CompanyResource::form($form))
->action(fn(Company $record, array $data) => $record->update($data))
19 replies
FFilament
Created by EMMAN on 10/20/2024 in #❓┊help
How to Determine if the dashboard is using dark or light mode in Filament?
You can also try; document.documentElement.classList.contains('dark')
13 replies