rominronin
How to put metatag?
Does anyone know how to place a dynamic metatag? I was trying to use render hooks to inject content (eg. title, description, image) into the head as metatags, but other than retrieving the content from the url, I couldn't see how to access the current page content.
5 replies
How to Make Multiple Select Filters Combine with 'And' Logic Instead of 'Or' Logic in FilamentPHP?
This is cool, but if you you Filter (instead of SelectFilter), you can use ->form() to have more control over the form and it's reactivity.
5 replies
How to Make Multiple Select Filters Combine with 'And' Logic Instead of 'Or' Logic in FilamentPHP?
This is an old post, but I'm in v3 and I'm trying to do something similar. I've achieved it using custom select filters, which are then updating a component property
$this->filter_value
, which is then being checked in $table->modifyQueryUsing
. This works, but I'm wondering if there is a neater way to implement this.5 replies
Fileupload resize doesn't seem to work, what am I missing?
Just some additonal information: the 'contain', 'cover' and 'force' modes all do the same thing in my application. I have followed the cache/rebuild steps in the 'READ BEFORE POSTING' guide. As far as I understood it, Filepond is already included in the filament/filament, so I don't need to add any additional npm plugins or composer libraries.
8 replies
Search translation text (not just key)
Just found this, will give it a go tomorrow: https://filamentphp.com/tricks/customize-table-search
2 replies
Refactoring closures into a trait (or some other structure)
OK this actually works 100%, the issue I faced was ACTUALLY because the method name I used seems to be used by Filament for something else, changing the name to something else (I used
productHydration()
) worked as desired.2 replies