Unable to hide childItems in custom NavigationItem
I'm making a custom navigation setup and I want to conditionally hide an item from the
childItems([...])
, but it does not seem to work...
this is a simple code to debug it faster, "nav-item-5" should be hidden
3 Replies
is this a normal behavior?
what if you do ->visible(false) ? Does it still show?
yes