Unsociable
Unsociable
FFilament
Created by Unsociable on 9/9/2024 in #❓┊help
Select Element - Without model
Hey, I'm trying to do the following: Use a filament dropdown that is searchable but without referencing a model. The example I am using is for a county selection in the UK. I have an enum of Counties. The field is shown inside its own field on a page that is a livewire component. The field works okay without the searchable but when this is added it's not populating the dropdown. Is this because searchable is looking for a database model? I'll write a code snippet later on, I'm unable to copy the code from my laptop.
4 replies
FFilament
Created by Unsociable on 1/26/2024 in #❓┊help
Pagination / Lazy Loading InfoList / Repeatable
Hello! Is it possible to paginate or lazy load results in a repeatable entry? I have over 500 in one entry and it's causing an error to load it.
5 replies
FFilament
Created by Unsociable on 1/5/2024 in #❓┊help
Email Transport
How can I setup filament registration and password resets to use my custom transport? The transport is working for generating errors and is defined as my apps mail transport but when using filament I don't seem to hit breakpoints and its not sending anything?
5 replies
FFilament
Created by Unsociable on 12/6/2023 in #❓┊help
Create Option Form
I have a create option form inside a form select. I have the fields set however, because the form (Contact) is linked with a relationship to a company with the company_id field, when I submit I have an error of company_id doesn't have a default value. The form is set inside a Relations Manager Company Resource -> InteractionsRelationManager -> Contact Select -> Create option form
2 replies
FFilament
Created by Unsociable on 12/4/2023 in #❓┊help
injecting view data to action
I have an action::make inside a ViewRecord under getHeaderActions() I have a ->disabled() value but want to pickup the model data to set this. I have tried disabled(function ($data)) and also $arguments but these are both empty.
12 replies
FFilament
Created by Unsociable on 12/2/2023 in #❓┊help
Getting data whilst model loading
Hey, I want to process an API call when a user tries to view the single entity in a model. This is to check if the 3rd party system has been updated to notify the user. I currently have a fresh install of filament 3 with two models loaded in by command.
4 replies