richeklein
Using a custom Livewire component in place of a form (v3)
Thanks! I'm finding that a lot with Filament, since I'm new. The surface area of features in v3 is huge, but it's making more sense as I use it. I'm looking forward to making more documentation contributions as I gain more experience.
I assume the view is just a standard Blade view?
8 replies
Is there a simple way to change the color of a Placeholder field in a form?
Yes!
extraAttributes
was what I was looking for! Thanks so much. I was looking around the docs, not sure how I missed it (https://filamentphp.com/docs/3.x/forms/fields/getting-started#adding-extra-html-attributes).
Once I finish my first admin panel, I'm going to work on another round of documentation PR's. I have a lot of notes on where I'm getting stuck, being new to Filament. 😄11 replies
FilamentPHP offline documentation.
I created an epub version last week that works on phones. Here's the post with the details and a link to the repo: https://twitter.com/richeklein/status/1687186178254995456
7 replies
Managing custom properties with Spatie Media Library plugin
Makes sense. I didn't think it was possible but was hoping it was just my inexperience. 😀 Since I only have one photo per resource, I'll just maintain it as a separate field in the table. Not perfect, but simple!
14 replies
Managing custom properties with Spatie Media Library plugin
I see how that would work for standard form elements, but how do you access the actual media item from the callback to set a custom property using the customProperties() method on the SpatieMediaLibraryFileUpload element? This would happen after the image is already uploaded and now the admin is editing image description. Thanks again for your help.
14 replies
Managing custom properties with Spatie Media Library plugin
That works great! Thanks! Is there a simple way to update a custom property at a later time based upon a change in a field. For example, if an admin decides to change the image description, by updating the 'image_description" TextInput field, how can you trigger an update to the 'description' custom property for that media item? Thanks.
14 replies