F
Filament13mo ago
Matthew

Navigation group not collapsable from panel provider

As the title says, I cannot make a navigation group collapsable. For more context: I have created some resources, with names 'Status',' System', 'Definitions'. In the panel provider, I added the following lines of code, to make the groups collapsible on load. However, they always appear expanded on page load.
->navigationGroups([
NavigationGroup::make('Status')
->label('Status')
->collapsed(true),
// ->icon('heroicon-o-shopping-cart'),
NavigationGroup::make()
->label('System')
->collapsed(true),
// ->icon('heroicon-o-pencil'),
NavigationGroup::make()
->label('Definitions')
->collapsed(true)
])

->navigationGroups([
NavigationGroup::make('Status')
->label('Status')
->collapsed(true),
// ->icon('heroicon-o-shopping-cart'),
NavigationGroup::make()
->label('System')
->collapsed(true),
// ->icon('heroicon-o-pencil'),
NavigationGroup::make()
->label('Definitions')
->collapsed(true)
])

0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server