cpbret
cpbret
FFilament
Created by Vhelkhana on 5/21/2024 in #❓┊help
Filament with Livewire, sort and search not working
did you ever figure this one out? I see the sort button but it only works for the first sort
3 replies
FFilament
Created by gizmojo on 1/25/2024 in #❓┊help
Change column sort direction to descending by default
Did you find an answer to this?
2 replies
FFilament
Created by cpbret on 5/10/2024 in #❓┊help
Distinct Table Count
Answer: TextColumn::make('responses_count') ->counts([ 'responses' => fn ($query) => $query->select(DB::raw('count(distinct(request_id))')) ])
4 replies
FFilament
Created by cpbret on 5/10/2024 in #❓┊help
Distinct Table Count
No description
4 replies
FFilament
Created by * on 8/15/2023 in #❓┊help
Testing select field options
That's a bummer. I'm in a similar boat. I'll probably move on for now, but it's a pretty vital part of our site long term. I might need to help provide a patch for that.
10 replies
FFilament
Created by * on 8/15/2023 in #❓┊help
Testing select field options
@ilker did you ever figure this out? seems like a miss
10 replies
FFilament
Created by cpbret on 10/10/2023 in #❓┊help
Create Another in a Form Action
Looks like I have a similar problem with the standard action. The modal either closes, I can't reset the modal form, or I can't dispatch and refresh the parent form. What should the guts be for "// Reset the form and don't close the modal" https://filamentphp.com/docs/3.x/actions/modals#adding-an-extra-modal-action-button-to-the-footer
8 replies
FFilament
Created by cpbret on 10/10/2023 in #❓┊help
Create Another in a Form Action
Action chaining and the Create another shown in documentation work.. but Action and Form/Action are not 1-1
8 replies
FFilament
Created by cpbret on 10/10/2023 in #❓┊help
Create Another in a Form Action
Because the modal closes if I do not. I'm trying to use replicate Create Another functionality on a Form/Component/Action
8 replies
FFilament
Created by cpbret on 10/10/2023 in #❓┊help
Create Another in a Form Action
No description
8 replies
FFilament
Created by cpbret on 10/6/2023 in #❓┊help
Section Header Button
// Hack incoming - but its working Section::make('Items') ->schema([ Actions::make([ Actions\Action::make('addItem') ]) ->extraAttributes(['style' => 'margin-top:-64px']) ->alignRight(), // other components here ]),
3 replies
FFilament
Created by Florian Langer on 7/21/2023 in #❓┊help
Route [filament.app.auth.logout] not defined.
@flanger.dev did you ever find a solution here?
36 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
I'm open to a better way, but for those looking to do the same I published 2 files (layout.index, sidebar.item) in my theme.css file, I added: .fi-sidebar { @apply fixed inset-y-0 start-0 z-30 grid h-screen w-[--sidebar-width] content-start overflow-hidden bg-white transition-all duration-75 dark:bg-gray-900 !important } in layout.index: - I removed lg:hidden from fi-sidebar-close-overlay - I removed lg:ps-[--sidebar-width] in two spots in sidebar.item: - I removed window.matchMedia((max-width: 1024px)).matches &&
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
If it were just css probably not. The alpine toggles are size dependent and a bit much. I'll take another stab. Thanks guys
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
sidebarFullyCollapsibleOnDesktop was my first attempt, but it has a bunch of logic to make it display different in desktop. It separates logic by mobile and lg/xl. I'm attempting to ignore the desktop logic and always show the existing mobile menu when the hamburger is pressed
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
The goal is a slideover menu with the dim background in all screen sizes. Exactly how it currently functions on mobile.
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
I'm only targeting the menu. lg/xl are used in page layouts as well.
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
And I'm fine with publishing the view and hacking a solution, but I'd prefer only to tweak the absolute minimum
14 replies
FFilament
Created by cpbret on 8/11/2023 in #❓┊help
Always use the mobile Menu
That allows the menu to close, but it shifts the entire layout. Ideally, the formatting used within the browser in small/medium tailwind sizes would be the solution all the time
14 replies