Closed Kris-I closed 11 months ago
I think you need the OnAppearing
event. Please see the demo here (see how an item can be enabled/disabled or visible/hidden depending on context)
Thanks @stavroskasidis! This worked great for me too. :slightly_smiling_face: :+1:
Hello,
With MudBlazor, I have this :
In the
ContextMenuTrigger
, I'd like disable one or several items ('Action Type 1
' or/and 'Action Type 2
') depending of@context.Item1Allowed
Is there a way to disable an or several items in the menu depending Is there a way to do it ?
Thanks,