potz1024
potz1024
FFilament
Created by potz1024 on 2/20/2025 in #❓┊help
Unique filters for same table in multiple locations
Thanks @LeandroFerreira for the pointer, I'll investigate that.
5 replies
FFilament
Created by potz1024 on 2/20/2025 in #❓┊help
Unique filters for same table in multiple locations
Thanks @LeandroFerreira. Apologies, I realised I wasn't clear in my question. Yes, I am using the same table, by calling the static table method of the Product resource from within my relation manager.
And I think this is part of my issue, because I'm using the same table definition, I have the same filters. But if filters are set on the table on my Product page, then the same filters will be set in the relation on my Orders page. Ideally I don't want these filters linked.
E.g. let's say I have an 'available' toggle filter on my Product table, and that toggle has been set to true on the Products page, then when you navigate to the orders page, that same filter will be applied. :wq
5 replies
FFilament
Created by potz1024 on 2/17/2025 in #❓┊help
HTML with colour in TextColumn description
Thanks all for assistance with this, I now have it working. I think part of my issue was after originally installing filament a few days ago, I ignored an 'npm run dev' error which stated 'dev' wasn't an available script. Turns out I didn't have a 'vite' setup, or a 'tailwind.config.js' file. Not sure why this was, maybe because my project is a couple of years old and was originally built on Laravel 10 (maybe 9) before upgrading. Anyway, after setting up tailwind and vite, and running 'npm run dev', inclusion of these colours started to be recognised and working. :wq
9 replies
FFilament
Created by potz1024 on 2/17/2025 in #❓┊help
Relation Manager placement on resources
Update: I have found this pluging which so far has worked perfectly and allow much greater flexibility in terms of relation manager placement within Infolists: https://packagist.org/packages/njxqlus/filament-relation-manager-component :wq
3 replies
FFilament
Created by potz1024 on 2/17/2025 in #❓┊help
HTML with colour in TextColumn description
Thanks, custom theme or tailwind whitelist sound even better to me, will investigate.
9 replies
FFilament
Created by potz1024 on 2/17/2025 in #❓┊help
HTML with colour in TextColumn description
Thanks for the pointer, thought it was something along those lines. Can't find any template I could change at this stage, but will continue investigating.
9 replies