Navigation Groups & navigationParentItem not working

Hello, I have a ViewPage and its $navigationGroup is set to 'Group' but the link doesn't show up under it. Even if I try to set a page to a $navigationParentItem it doesn't work. What am I missing?
4 Replies
PercyTT
PercyTT3mo ago
Me too B disappears from the navigation bar A Resource
protected static ?string $modelLabel = 'A';
protected static ?string $modelLabel = 'A';
B Resource
protected static ?string $navigationParentItem = 'A';
protected static ?string $navigationParentItem = 'A';
thedangler
thedangler3mo ago
still an issue even though the documentation states that its possible. Grouping navigation items You may group navigation items by specifying a $navigationGroup property on a resource and custom page: protected static ?string $navigationGroup = 'Settings'; All items in the same navigation group will be displayed together under the same group label, "Settings" in this case. Ungrouped items will remain at the start of the navigation. in my custom page it simply doesn't show up. Even if I wanted to place the Edit page under the "List" parent Item by stating the edit page parent is List, nothing shows.
awcodes
awcodes3mo ago
Did you add the view page to the resources’ getPages array. Make sure there not a policy blocking it too.
thedangler
thedangler3mo ago
Yes its there. I can not seem for the life of me to get navigation groups to work if the page is from the same resource nor does it work when I try to say what parentNvigationItem is set
Want results from more Discord servers?
Add your server
More Posts
How to test list table search in translatable (via spatie) field with pestI have the following test: ```it('can search page by tistle', function () { $title = Page::fListening for broadcast eventsHi folks Been working with filament for a little bit now and really enjoying it. I’ve been buildinPassword (and other fields) truncates themselves on screen (possibly due to live())Hi, I'm after some guidance on how best to debug this. When entering a password (or some text inputHow can I apply a class to fi-fo-field-wrp?have a grid, and I'm supplying extra attributes, but it's going to the parent grid (obviously) and iis that possible to sum 2 columns in tableHi i want to make new column that sum 2 columns in laravel filament, is that possible? Thank you!Filament resource for MarkableI'm using [this](https://github.com/maize-tech/laravel-markable) package. It works well however I woUncaught (in promise) Component not foundI have a delete action on my livewire component., which is an edit modal/slideover. It's working finTextArea with autosize resets to default size with Live event.Before I report this as a bug, I'd like to know if this is expected behaviour. I have a very simplesetting a custom homeUrl after login doesn't seem to worki have a new panel created and set the `homeUrl('calendar')` but everytime I login on the new panel,Wizard Form Layout with Multiple and Nested RepeaterHi all, I want to make my online course website. Anyone have a tutorial or best practice suggestions