No method named visible in Filament\Navigation\NavigationItem class
But in documentation it is said possible. https://filamentphp.com/docs/2.x/admin/navigation#conditionally-hiding-navigation-items . Am i missing something ? I am using this class in a service provider btw.
8 Replies
Yeah, I don't think that exists. Not sure where the docs came from
ok. thanks ! . can you please remove that part from docs? it is misleading
Okay. It does exist. Make sure your version is up to date.
sorry ! my mistake. it exists in latest version . Thanks !
It's available in latest version..
I noticed this as well, but after updating the methods don't seem to have any effect.
I see the method?
it is relatively new
That's what he's saying. But apparently it's not working?