F
Filament7mo ago
ericmp

Add Selector On Admin Panel's Navbar

i want to add a selector on admin panel's navbar to let the user choose one of the options. on change, ill set the value on the session. u know any workaround to do it with filament admin panel?
4 Replies
Vp
Vp7mo ago
render hook?
ericmp
ericmpOP7mo ago
u mean to add a custom lw component using a render hook?
Vp
Vp7mo ago
You'd need render hook to apply something in navbar, what kind of data (lw, blade, etc) is up to you LW would be easy IMO, and you can just do smth like
public function updatedSelect()
{
session()->put('something');
}
public function updatedSelect()
{
session()->put('something');
}
ericmp
ericmpOP7mo ago
i think ill try to use lw + filament form + filament select component let see how i handle it, at the moment ty!
Want results from more Discord servers?
Add your server