p3lim-wow / LibDropDown

Widget library that allows easy implementation of a dropdown menu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the ability to change the checked state of a related line and have the display update"refresh" an open menu

jnwhiteh opened this issue · comments

I have a submenu that has two options "hovercast" and "global" that need to be mutually exclusive. When I select one, I need the other one to be disabled just to prevent misconfiguration. This isn't possible without custom code at the moment.

I can update the checked state of the clicked line, but that doesn't cause an update to the other line. I could reorganise the code and then try to manually iterate over all open lines (or find the line) to trigger an update. It would be nice to add a feature that allows me to "refresh" an open dropdown or submenu.

@jnwhiteh let me know if this covers your needs

Example on how I used it in LibEditMode: p3lim-wow/LibEditMode@6f72380