Skip to content

Commit

Permalink
Fix yiisoft#3472: Configurable option to encode spaces in dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed May 21, 2014
1 parent 16f279e commit 45e355a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions framework/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ Upgrade from Yii 2.0 Beta
* If you are sharing the same cache across different applications, you should configure
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.

0 comments on commit 45e355a

Please sign in to comment.