feat: prep some stuff for lighthouse forms multiselect - #7987
Conversation
…entation apparently different from live)
ElectricalBoy
left a comment
There was a problem hiding this comment.
maybe put Array.parseMultiSelect under Module:Forms/Util or something where we could potentially add form-related helper functions? I'm just thinking out loud
fwiw not sure on the name and also not sure on putting it into array regarding |
Summary
currently forms pass a csv value when using
input type=checkboxeswith the new lighthouse forms that option will be converted to
multiselectmultiselect will pass json instead of csv to the modules
hence add a functio for parsing both and adjust a few modules that are used by forms on sc2 with
input type=checkboxesso that they do not break with LH conversionAfter merge
Module:PlayerStatisticsModule:HeadToHeadHow did you test this change?
dev