Null Keso
Null Keso
FFilament
Created by Null Keso on 10/8/2024 in #❓┊help
When do you use multiple panels?
I have this project where both admin and user stuff are in the default AdminPanelProvider, the access control is done via checking the permissions/role of the User. However, for cases where assuming admin and users has different workflows, wouldn't it be much better if they have their own dedicated panels? In this case there will be: AdminPanel and UserPanel. Though personally I would rather have different panels, although maintaining them whenever there's a change/new feature can be quiet taxing. This is more of a discussion, I'm just curious what are the other devs will do in this scenario.
4 replies
FFilament
Created by Null Keso on 9/24/2024 in #❓┊help
Clearing model cache of Laravel Filament?
Hello, I have this weird bug so I'm using filament's resource and relation managers. Though in the relation manager I've modified the query to based on the owner record's relation query ($owner->relation()->where()->getQuery()). So now it works properly, it fetches the data I want. However whenever I delete a record, for example record #1. It still persist on the filament side but in the database side it no longer exists. Even on checking the modified query result, it's the same with the database I've tried clearing view cache, config cache, cache clear, filament:clear-cached-components, and even restarting my server setup.
3 replies
FFilament
Created by Null Keso on 9/18/2024 in #❓┊help
Is there a way to use filament's table without passing any query, but only an array of data?
Hello, as the title says I just want to use filament table to display a set of data. But also instead of providing the query I just need to pass an array or collection of data. The current implementation of table doesn't fit to my use case since the sorting depends on a custom model attribute. Infolist comes to my mind with my use case but the aesthetic of doesn't match, so it has to be a table. I think when all else fails, I have to manually scour the filament table view components.
15 replies
FFilament
Created by Null Keso on 8/20/2024 in #❓┊help
Custom buttons/styles for RichEditor?
No description
2 replies
FFilament
Created by Null Keso on 7/22/2024 in #❓┊help
Packages for Cashier/Stripe in non tenant subscription based in Filament?
Hello, I have a project where we're using Laravel Cashier/Stripe as our payment method. My use case is that, our users will purchase subscription with different tier from us. But we're not using a tenant style setup since we the users are only in the UserPanelProvider. So some of the packages doesn't suit my use case since they tackle into tenant problem. So basically, user will purchase a subscription to us and they'll pay it via stripe. Are there any packages for this kind of setup? Tbh this is my first time delving into this kind of use case, so any recommedation is appreciated! I'll get back to this later with a fresher mind lol.
2 replies
FFilament
Created by Null Keso on 5/24/2024 in #❓┊help
Customizing relation manager create behavior
Is there a way to customized the way a relation manager create things?
4 replies
FFilament
Created by Null Keso on 1/16/2024 in #❓┊help
How to get the validation message of a Custom field?
Hello, is there a way to get the validation error messages of a custom field? My goal is to display the validation message in the custom field's view I tried $getValidationMessage() but no luck
2 replies
FFilament
Created by Null Keso on 9/8/2023 in #❓┊help
How to use Infolist in a Custom Page?
Is there a way on how can I use the Infolist builder in a Custom Page (the one that extends with Page and not with Component)
6 replies
FFilament
Created by Null Keso on 9/5/2023 in #❓┊help
Database Notification not being created
No description
5 replies
FFilament
Created by Null Keso on 8/30/2023 in #❓┊help
Customizing the Sidebar
Is there a way to customize the default sidebar? Mainly my customizations will revolve around: background colors, app logo and etc. So far I can customize it by editing the filament-panels/components/sidebar/index.php though I'm not sure if this is the appropriate approach.
13 replies
FFilament
Created by Null Keso on 8/23/2023 in #❓┊help
Error displaying when selecting an option on live()/reactive SelectInput when editing a record
2 replies
FFilament
Created by Null Keso on 8/16/2023 in #❓┊help
Customizing the dark mode theme?
Can you customize the colors used in dark mode instead of the default black/gray colors used
8 replies
FFilament
Created by Null Keso on 8/14/2023 in #❓┊help
Differences between the Page, SimplePage, BasePage class?
Test
3 replies
FFilament
Created by Null Keso on 8/14/2023 in #❓┊help
Dynamically disabling the Select Input
Is it possible in the Form Builder?
12 replies
FFilament
Created by Null Keso on 8/14/2023 in #❓┊help
How to get the component instance of another input under afterStateUpdated method?
Is there a way to get the component instance of another input component in the afterStateUpdated method to perform modifications on that componet? (e.g. disabling it)
3 replies
FFilament
Created by Null Keso on 8/14/2023 in #❓┊help
How to prefill a multiple Select Input after its dependant field's state is changed?
So I have two SelectInputs (SI): Role and Permissions Select Input. The PermissionSI is dependant to Role, so if the value in Role has changed, PermissionSI will display the permissions of that Role. Then if a specific Role is selected it will let the user to select permissions. For example: I selected the Author role the PermissionSI will display the permissions for Author role. Then if I selected Custom role the PermissionSI will let the user to select permissions How can I achieved this or does the form builder supports this requirement?
5 replies
FFilament
Created by Null Keso on 8/7/2023 in #❓┊help
Testing repeater fields
5 replies
FFilament
Created by Null Keso on 8/4/2023 in #❓┊help
Sample of writing unit tests using Pest
Hello I'm new in Filament and I'm writing unit tests for my Resources However whenever I create a unit test class outside Pest.php (tests/Feature/) the pest methods doesnt work unless if they're within the Pest.php I tried searching on Google but no luck the documentation doesn't cover writing unit tests from scratch.
5 replies