View Single Post
02/13/21, 11:52 PM   #1
ShadowMau
AddOn Author - Click to view addons
Join Date: Oct 2018
Posts: 23
LibAddonMenu update optionsData

I have a situation where I want to do may not be possible. I want to be able to dynamically update the optionsData. I have looked at the wiki at https://github.com/sirinsidiator/ESO-LibAddonMenu/wiki but I can't see what I am looking for. Maybe I am looking in the wrong spot. Any help would be appreciated. Here is what I am trying to accomplish.

Say I have a dropdown list with the following values: Blue, Green, Red, Yellow. When the person selects a color, that color is no longer available. So if the person selects Red, then the new dropdown values should be Blue, Green, Yellow. Red is no longer available because it has already been "used."

I am not asking about the functions that are processing the choice, I am asking how to I tell LAM that there is an updated optionsData table to use? Am I asking the impossible?

I did find a similar post https://www.esoui.com/forums/showthr...t=LibAddonMenu. I kinda understand, but my little brain could not figure out exactly what all that meant. Is there somewhere that has a nice simple working example I can learn from?
  Reply With Quote