I am trying to make a menu dynamic, such that menu items can be conditionally displayed.
I have tried using append_item and remove_item within my code.
I can use logic while building the menu, however, the menu rendering is never re-evaluated.
Maybe I just need a command for re-rendering the menu?
If dynamically updating menus is possible, please provide an example that demonstrates.
I am trying to make a menu dynamic, such that menu items can be conditionally displayed.
I have tried using append_item and remove_item within my code.
I can use logic while building the menu, however, the menu rendering is never re-evaluated.
Maybe I just need a command for re-rendering the menu?
If dynamically updating menus is possible, please provide an example that demonstrates.