F
Filamentβ€’7mo ago
Felix

Is it possible to have tabs that look like sub-navigation?

I want to have an edit page where I can change form by tabs that have the styling from sub-navigations. Is It possible?
6 Replies
Povilas K
Povilas Kβ€’7mo ago
Why not actually make separate pages for different form parts, with sub navigation, like Clusters?
Felix
FelixOPβ€’7mo ago
well I use api's with sushi and switching from page to page, makes a little too much api requests. so I want to use the js of the tabs with the sub-nav styling
Dennis Koch
Dennis Kochβ€’7mo ago
No, unless you create your own component.
Felix
FelixOPβ€’7mo ago
how do you make an component? Sorry, I meant to ask, make your own livewire component?
Dennis Koch
Dennis Kochβ€’7mo ago
livewire component
That's explained in the Livewire docs. Not sure what your goal is in terms of UI. Subnavigation as in "separate navbar next to the main nav" or "items in main nav". If it's the second I think that requires some JS and feels hacky. If it's the first one you could customize the view and include your components. Not sure whether that would save you any queries to the API at all.
Felix
FelixOPβ€’7mo ago
well my manager want/prefer the sub-nav side-nav styling. compared to the tabs. and he doesn't take no for an answer. πŸ˜… and he wants this "separate navbar next to the main nav".
Want results from more Discord servers?
Add your server