Navigation Builder Parent Item / Child Items
Hi, can anyone be so kind to explain how this is supposed to work?
I know that inside of resources, I can simply add the
navigationParentItem
property and the auto-generated filament navigation will build it correctly.
But for various reasons I'm building the navigation myself (by calling ->navigation()
on the panel), but I can't get the 3rd level items to work.
Creating items and groups is explained in the docs, but I can't find any info how to create the parent / child items (3rd level) using the NavigationBuilder
.
I used both the parentItem(<label>)
and childItems(<array>)
methods in the NavigationItem
, but still no luck.S
Skryptβ’18d ago
Okay, so I fixed it by accident. Turns out it works only if
isActiveWhen
is correctly set up. πFilament is a collection of beautiful full-stack components for Laravel.You can get help using it on our Discord.
15KMembers
View on DiscordWant results from more Discord servers?
More PostsTextEntry roles badge translationsDear all, please advice me, how to translate roles in TextEntry badges ..., I'm try but, it's dont wActions pop showing on server too large widthAction button clicks pop acttions view too large width. how to fix it? pls help on prodcution servModal View with RelationshipHello, I show the views in a modal instead of showing them on a separate page, the relationship dataTable summary not working for accessorsHello
I try to build a summary for an accessor, which counts an amount of a hasMany relationship.
`