© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Hugo

Default collapsed section does not work

Hi,

I'm trying to make a collapsed section the default in my blade file. I followed the documentation (https://filamentphp.com/docs/3.x/support/blade-components/section), the
collapsible
collapsible
works fine by itself, however when I add the
collapsed
collapsed
, the section is not collapsed and the
collapsible
collapsible
doesn't work anymore. Even without the
collapsible
collapsible
, the
collapsed
collapsed
doesn't work.

Here's my code:
<x-filament-widgets::widget>

    <x-filament::section
        collapsible collapsed>
        <x-slot name="heading">
            Birth date anomalies &nbsp;
            <x-filament::badge
                style="display: inline-block">{{ $this->getTableQuery()->count() }}</x-filament::badge>
        </x-slot>

        {{ $this->table }}
    </x-filament::section>

</x-filament-widgets::widget>
<x-filament-widgets::widget>

    <x-filament::section
        collapsible collapsed>
        <x-slot name="heading">
            Birth date anomalies &nbsp;
            <x-filament::badge
                style="display: inline-block">{{ $this->getTableQuery()->count() }}</x-filament::badge>
        </x-slot>

        {{ $this->table }}
    </x-filament::section>

</x-filament-widgets::widget>


Do you have any ideas?

Thanks for your help.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Sidebar Collapsed by Default
FilamentFFilament / ❓┊help
3y ago
Custom widget collapsible section does not work
FilamentFFilament / ❓┊help
3y ago
Embedded PDF controls missing on collapsed section
FilamentFFilament / ❓┊help
3w ago
Table Groups Rows collapsed by default.
FilamentFFilament / ❓┊help
2y ago