Commit 44b387e4 by Kartik Visweswaran

Fix #3472: Configurable option to encode spaces in dropdowns

parent 45e355a5
......@@ -34,7 +34,7 @@ Upgrade from Yii 2.0 Beta
the `keyPrefix` property of the cache component to use some unique string.
Previously, this property was automatically assigned with a unique string.
* If you are using `yii\helpers\Html::dropDownList` or `yii\helpers\Html::listBox`, a new parameter
`encodeSpaces` is now available within the `options` array. This defaults to `false`. If
set to `true` all spaces in the rendered option value and prompt will be replaced with ` `
the HTML non breaking space character.
* If you are using `dropDownList`, `listBox`, `activeDropDownList`, or `activeListBox`, in the
yii\helpers\Html class, a new parameter `encodeSpaces` is now available within the `options` array.
This defaults to `false`. If this is set to `true` all spaces in the rendered option value and prompt
will be replaced with ` `, the HTML non breaking space character.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment