Sub-Menu - Disable/Hide if no (available) content

The RESTRICT property which allows you to hide/disable commands is great.

However, I have a use case, where I present a sub-menu to the user to pick one of the choices. Once that choice is made, it disables/hides all the choices (including the just selected one).

Unfortunately, while I can hide/disable the individual commands in the sub-menu container, the sub-menu still displays.

I therefore suggest adding a drop-down selection to the sub-menu property:
Always Display (default)
Hide (if no unrestricted commands)
Disable (if no unrestricted commands)

4 Likes

Seconded… I’ve raised the request as GitHub issue #13113.

1 Like