aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-02-28 20:45:35 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-02-28 20:46:17 +0900
commit9dbc4754540a7374ad04b406bb0f6e97b7719479 (patch)
tree5040e8ecd3c8b528e132ff122acda7b50e869718 /actionview
parent42a16a4d6514f28e05f1c22a5f9125d194d9c7cb (diff)
downloadrails-9dbc4754540a7374ad04b406bb0f6e97b7719479.tar.gz
rails-9dbc4754540a7374ad04b406bb0f6e97b7719479.tar.bz2
rails-9dbc4754540a7374ad04b406bb0f6e97b7719479.zip
Remove CHANGELOG entries which were backported to 5-2-stable
Diffstat (limited to 'actionview')
-rw-r--r--actionview/CHANGELOG.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 001cc21181..55f2148640 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -2,23 +2,21 @@
* Enable select tag helper to mark `prompt` option as `selected` and/or `disabled` for `required`
field. Example:
-
+
select :post,
:category,
["lifestyle", "programming", "spiritual"],
{ selected: "", disabled: "", prompt: "Choose one" },
{ required: true }
-
+
Placeholder option would be selected and disabled. The HTML produced:
-
+
<select required="required" name="post[category]" id="post_category">
<option disabled="disabled" selected="selected" value="">Choose one</option>
<option value="lifestyle">lifestyle</option>
<option value="programming">programming</option>
<option value="spiritual">spiritual</option></select>
- For details see GH#32080
-
*Sergey Prikhodko*
* Don't enforce UTF-8 by default