yiisoft/yii2 — pull request #3508 by kartik-v (2014-05-19 14:05:28+00:00)
Title: Fix #3472: Add option to encode spaces in dropdown

Enable `encodeSpaces` option for dropDownList and listBox. Defaults to `true` which results in space character being replaced with ` ` within option prompt and option value.