sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

dropdown widget choicesValues does not accept boolean "false" #128

Closed Baertram closed 2 years ago

Baertram commented 2 years ago

If you pass in a false boolean to the choicesValues the current dropdown widget code will just use the name of the dropdown entry, as all checks for value are done via valueToUse = entry.value or entry.name and the boolean false will always lead to entry.name in that case.

See pull request #127 for the fix

sirinsidiator commented 2 years ago

thanks. merged the fix just now.