Unsociable
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
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
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
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