2016-05-21 12:32:55 -04:00
|
|
|
* `select_tag`'s `include_blank` option for generation for blank option tag, now adds an empty space label,
|
2016-05-08 17:06:58 -04:00
|
|
|
when the value as well as content for option tag are empty, so that we confirm with html specification.
|
|
|
|
Ref: https://www.w3.org/TR/html5/forms.html#the-option-element.
|
|
|
|
|
|
|
|
Generation of option before:
|
2016-05-21 12:32:55 -04:00
|
|
|
|
2016-05-08 17:06:58 -04:00
|
|
|
```html
|
|
|
|
<option value=""></option>
|
|
|
|
```
|
2016-05-21 12:32:55 -04:00
|
|
|
|
|
|
|
Generation of option after:
|
2016-05-08 17:06:58 -04:00
|
|
|
|
|
|
|
```html
|
|
|
|
<option value="" label=" "></option>
|
|
|
|
```
|
|
|
|
|
2016-05-21 12:32:55 -04:00
|
|
|
*Vipul A M*
|
2016-05-06 17:54:40 -04:00
|
|
|
|
2016-05-10 00:07:09 -04:00
|
|
|
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/actionview/CHANGELOG.md) for previous changes.
|