richeklein
richeklein
FFilament
Created by richeklein on 8/11/2023 in #❓┊help
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
FFilament
Created by richeklein on 8/8/2023 in #❓┊help
Is there a simple way to change the color of a Placeholder field in a form?
Thanks for your help. I'm also learning and your response was helpful and I'm sure it will be useful in the future. I documented it as well. 👍
11 replies
FFilament
Created by richeklein on 8/8/2023 in #❓┊help
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
FFilament
Created by richeklein on 8/8/2023 in #❓┊help
Is there a simple way to change the color of a Placeholder field in a form?
Thanks. One complication is that my content is already dynamically generated via a ->content(function (Get $get) : string { .....
11 replies
FFilament
Created by richeklein on 8/8/2023 in #❓┊help
How to populate a Radio field with the existing response
Just tried ... and it doesn't work. I can just change it to a select field to get it working for now.
4 replies
FFilament
Created by richeklein on 8/7/2023 in #❓┊help
Images not displaying in v3 demo app
I'll leave the post since someone else in the future might make the same mistake....probably me. 😄
14 replies
FFilament
Created by richeklein on 8/7/2023 in #❓┊help
Images not displaying in v3 demo app
Silly mistake 🤦‍♂️ I didn't update the APP_URL in the .env. Classic!!
14 replies
FFilament
Created by richeklein on 8/7/2023 in #❓┊help
Images not displaying in v3 demo app
Thanks for the quick response. The command ran successfully, but the images still do not display in the table or form.
14 replies
FFilament
Created by Pablo Torres on 8/7/2023 in #❓┊help
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
FFilament
Created by richeklein on 4/24/2023 in #❓┊help
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
FFilament
Created by richeklein on 4/24/2023 in #❓┊help
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
FFilament
Created by richeklein on 4/24/2023 in #❓┊help
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