rominronin
Help Us Improve Filament’s Docs & Education in v4
Hey, generally I think the documentation is pretty good actually. But if we’re talking about improving pain points:
- I would have found interlinking with external documentation useful, where relevant (eg. livewire docs, laravel docs). This might be useful for people coming who are less familiar with the laravel ecosystem.
- the search feature is useful, but it could be improved eg. if it could also return results from the api.
- There were times where I knew I’d read something before, but I couldn’t locate it with search, so maybe advanced search would be useful?
- finally, there can never be enough examples! The existing examples are detailed in some areas, others have just a simple example and you’re on your own. Laravels documentation is a good template to follow here: start simple and dive gradually deeper.
Overall though, great work. Very much looking forward to v4 and upgrading our project.
81 replies
Validation messages are not htmlable, but they output htmlable label values by default
Yes - that’s what we’ll have to do, thanks. But I still think there’s room for a code improvement above - if label() is htmlable, any markup will be be rendered raw in the validation message. So either another input attribute must be used for the validation placeholder, or htmlable must be removed. Right?
7 replies
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