diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-25 12:36:17 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-25 12:36:17 -0500 |
commit | d3893ec38ec61282c2598b01a298124356d6b35a (patch) | |
tree | 46456f6ac103215cc3c679028d52a9099025e35f /actionview/CHANGELOG.md | |
parent | 8bc9f51ce6eac38efb3f348c5a40fc8f107382f4 (diff) | |
parent | 36ac675d2af5838c81afbd7c95b2e403e6366ba5 (diff) | |
download | rails-d3893ec38ec61282c2598b01a298124356d6b35a.tar.gz rails-d3893ec38ec61282c2598b01a298124356d6b35a.tar.bz2 rails-d3893ec38ec61282c2598b01a298124356d6b35a.zip |
Merge pull request #29439 from npezza93/set-skip-default-ids
Allow skip_default_ids option to be set in form_with
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r-- | actionview/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index c700cb72ec..e8198926a5 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,3 +1,14 @@ +* Change `form_with` to generates ids by default. + + When `form_with` was introduced we disabled the automatic generation of ids + that was enabled in `form_for`. This usually is not an good idea since labels don't work + when the input doesn't have an id and it made harder to test with Capybara. + + You can still disable the automatic generation of ids setting `config.action_view.form_with_generates_ids` + to `false.` + + *Nick Pezza* + * Fix issues with `field_error_proc` wrapping `optgroup` and select divider `option`. Fixes #31088 |