BillTheFish
BillTheFish
FFilament
Created by BillTheFish on 11/7/2024 in #❓┊help
JavaScript Select Search Options
The JavaScript select control that Filament uses, Choices.js, uses Fuse.js for searching. The default options for Fuse only search the first 60 characters. If an option label has more the 60 characters, searching fails to find any results for that option. This default can be modified by setting fuseOptions on the Choices control. Does Filament have a way to set the fuseOptions on the Choices control? I poked around the repository and didn't see a way but figured I'd ask here. If not, can allowing these options to be set be added as a feature request?
3 replies
FFilament
Created by BillTheFish on 4/27/2024 in #❓┊help
Table Paginator Scroll Behavior
In the Livewire documentation, the default scroll behavior for the paginator is to scroll to the top of the page upon page change. For Filament, I would expect this behavior to be to scroll to the top of the table. Instead the page does not scroll and the table records change, forcing the user to rescroll to the top of the table manually. Is there a way to customize this behavior? I tried using some of the hooks describe in the Livewire docs but either I'm doing something wrong or they don't work as intended.
5 replies
FFilament
Created by BillTheFish on 2/1/2024 in #❓┊help
Table (or Table lookalike) with an Eloquent collection
Since I'm using Filament tables in other places in my project, for style consistency I'd like to be able to have Filament tables that simply display data from an already queried Eloquent collection without having to hit the DB again. Is this possible without having to implement Sushi or some other third party package?
14 replies
FFilament
Created by BillTheFish on 1/16/2024 in #❓┊help
Disable dark mode on Tables
I'm using a table component in a livewire component. Is there a way to disable dark mode for the table? Panels have darkMode(false) but none of the other components have that method.
5 replies