This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Using a multiselect option and using a table as key for a value in the values parameter gives an error. (Tested on TBC Classic)
Example:
options.example = { type = "multiselect", name = L["Example"], values = function() local values = {} values[{ type = "foo", subtype = "bar" }] = "foo/bar" values[{ type = "foo", subtype = "baz" }] = "foo/baz" return values end, get = function(info, key) return fetch(key.type, key.subtype) end, set = function(info, key, value) doSomethingWith(key.type, key.subtype, value) end}Exception:[string "@Masque\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-81.lua"]:1311: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1121>[string "@Masque\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-81.lua"]:1652: in function `FeedGroup'[string "@Masque\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-81.lua"]:1577: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1561>
To post a comment, please login or register a new account.