diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b73d75a..383063bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +### Unreleased + +#### Fixed + +* Remove invalid HTML from selected list input to avoid error in Rails 7.2 [#507](https://github.com/platanus/activeadmin_addons/pull/507) + ### 1.10.1 * Backport [#477](https://github.com/platanus/activeadmin_addons/pull/477) to have ActiveAdmin v3 compatibility [#479](https://github.com/platanus/activeadmin_addons/pull/479) diff --git a/app/inputs/selected_list_input.rb b/app/inputs/selected_list_input.rb index 0fc904ad..baffa964 100644 --- a/app/inputs/selected_list_input.rb +++ b/app/inputs/selected_list_input.rb @@ -26,7 +26,6 @@ def load_control_attributes def render_control_wrapper template.content_tag(:div, class: "selected-list-container") do - template.content_tag(label_html) template.concat(render_items_list) template.concat(builder.select(build_virtual_attr, [], {}, input_html_options)) end