richeklein
Using a custom Livewire component in place of a form (v3)
Is it possible to replace the default modal form that opens from a relation manager with a custom Livewire component that interacts with the data? This would be within a Filament v3 admin panel, not a separate app. The docs mention adding Filament components to Livewire components, but not the other way around.
8 replies
Is there a simple way to change the color of a Placeholder field in a form?
I have a dynamically populated Placeholder field that pulls data from the database based on the value of another field, but I want to change the text color and/or background color to a lighter gray color to differentiate it from the other editable fields.
11 replies
How to populate a Radio field with the existing response
Is there a way to add the
relationship()
to a Radio field as you can do with a Select field, so the response is automatically populated when editing the field? I'm able to populate the options using Model::all()->pluck('label', 'id')
, but the existing response isn't selected when editing the entry.4 replies
Managing custom properties with Spatie Media Library plugin
Is there an easy way to store image meta data (e.g. descriptions for alt tags) when using the Spatie Media Library plugin? It seems like a custom property would work best. I see that you can add custom properties when uploading an image (https://filamentphp.com/docs/2.x/spatie-laravel-media-library-plugin/form-components#adding-custom-properties), but how do you manage the custom properties with a TextInput? Thanks.
14 replies