I'm trying to hide a NavItem based on a condition. When I assign the flag either true or false, the control disappears. Only I assigned it to undefined the control shows up.
Is it an expected behavior that, if hidden={false}, the control disappears?
I haven't tried with other control yet, but looks like at least both Nav and NavItem behave the same way.
I'm trying to hide a NavItem based on a condition. When I assign the flag either true or false, the control disappears. Only I assigned it to
undefined
the control shows up.Is it an expected behavior that, if
hidden={false}
, the control disappears?I haven't tried with other control yet, but looks like at least both Nav and NavItem behave the same way.