mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ae7b5314f1
Difference in rendering --> https://gist.github.com/maclover7/a50ff9231eb825c39c77cd5858af6d9a [ci skip]
607 B
607 B
-
select_tag
'sinclude_blank
option for generation for blank option tag, now adds an empty space label, 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:
<option value=""></option>
Generation of option after:
<option value="" label=" "></option>
Vipul A M
Please check 5-0-stable for previous changes.