dropDownList encodeSpaces for subgroups

fixes #4105, close #4376