BillTheFish
BillTheFish
FFilament
Created by BillTheFish on 11/7/2024 in #❓┊help
JavaScript Select Search Options
I did some poking around and found this closed bug report from December 2023 which I think is caused by the same 60 character limit. https://github.com/filamentphp/filament/issues/10550 There's also a Fuse option, ignoreLocation, that will disable this limit and allow search to give results from labels of any length.
3 replies
FFilament
Created by BillTheFish on 4/27/2024 in #❓┊help
Table Paginator Scroll Behavior
Awesome. This pointed me in the right direction. Thanks.
5 replies
FFilament
Created by BillTheFish on 2/1/2024 in #❓┊help
Table (or Table lookalike) with an Eloquent collection
Ok, as sometimes happens when I finally put a question in writing, I figured out a better way to do things. I'm gonna mark this as solved.
14 replies
FFilament
Created by BillTheFish on 2/1/2024 in #❓┊help
Table (or Table lookalike) with an Eloquent collection
Yah. I can transform the Collection back into a query but that will hit the DB again. For my use case it's probably ok to do that but it's not the best practice.
14 replies
FFilament
Created by BillTheFish on 2/1/2024 in #❓┊help
Table (or Table lookalike) with an Eloquent collection
You query: Model::<some query>->get() This gives you an Eloquent Collection. I'd like to use a subset of this collection in a Filament styled table. No filters, no actions, just an ordered display of data in tabular format.
14 replies
FFilament
Created by BillTheFish on 2/1/2024 in #❓┊help
Table (or Table lookalike) with an Eloquent collection
Yes I understand that. I want to use an Eloquent Collection that is the result of a query instead of doing another DB call to get data I've already retrieved.
14 replies
FFilament
Created by BillTheFish on 1/16/2024 in #❓┊help
Disable dark mode on Tables
Update: the real problem was that I didn't add "presets: [preset]" to my tailwind.config.js file per the documentation.
5 replies
FFilament
Created by BillTheFish on 1/16/2024 in #❓┊help
Disable dark mode on Tables
I figured it out by rereading the Tailwind docs. You just need to add 'dark mode: 'class'' to tailwind.config.js
5 replies