Here is simple WA (https://wago.io/OoVdRX5AA) for testing dropdown function. There are two dropdowns in the WA (in option group / out of option group). But a dropdown in option group is not work. Am i doing something wrong?
local optionTest = aura_env.config["dropdown"] -- dropdown is out of option group (worked)
local optionTest_ingroup = aura_env.config["option_group.dropdown"] -- dropdown in option group (not worked)
if optionTest == 1 then
print("option 1");
elseif optionTest == 2 then
print("option 2");
elseif optionTest == 3 then
print("option 3");
end
if optionTest_ingroup == 1 then
print("option 1 in group");
elseif optionTest_ingroup == 2 then
print("option 2 in group");
elseif optionTest_ingroup == 3 then
print("option 3 in group");
end
Wago.io is a database of sharable World of Warcraft addon elements