ox_lib icon indicating copy to clipboard operation
ox_lib copied to clipboard

feat(context): Added onMenu field option

Open AstroNext opened this issue 1 year ago • 1 comments

call onMenu function if available when menu id set to context menu option.

AstroNext avatar Oct 22 '24 14:10 AstroNext

When navigating from one menu to another, it's sometimes necessary to retain the arguments from the previous menu. For example, to edit the name or other details of a job rank, we first select the rank (assuming the menus are pre-defined and the transition occurs through the menu system not onSelect or event). At this point, it's essential to store this rank so that we can edit it.

AstroNext avatar Nov 08 '24 11:11 AstroNext