Hi all,
I'm currently trying to create a configuration UI with AceConfig-3.0 and attempted to add a tag element option to it.
Lua Code:
local options = {
type = "group",
childGroups = "tab",
name = "Test",
arg = "Test",
args = {
tag = {
order = 1,
type = "input",
name = "Tag",
width = "double",
get = function()
return config.text.tag
end,
set = function(_, value)
myPlayerFrame:Untag(myPlayerFrame.healthText)
myPlayerFrame:Tag(myPlayerFrame.healthText, value)
-- DEBUG
print(myPlayerFrame:GetName(), myPlayerFrame.healthText:GetName(), value)
config.text.tag = value
end,
},
},
}
Well... the debugging works perfectly fine and it saves a new tag value into the SV. However, it doesn't seem to update the tag even if I press the 'okay' button until I reload the UI
So, I was just wondering if the live update of tag element is not available or not.
Thank you in advance!