diff --git a/app/inputs/selected_list_input.rb b/app/inputs/selected_list_input.rb index 0fc904ad..4f59a40f 100644 --- a/app/inputs/selected_list_input.rb +++ b/app/inputs/selected_list_input.rb @@ -26,7 +26,7 @@ def load_control_attributes def render_control_wrapper template.content_tag(:div, class: "selected-list-container") do - template.content_tag(label_html) + template.content_tag(:label) #patch to ensure no html is passed template.concat(render_items_list) template.concat(builder.select(build_virtual_attr, [], {}, input_html_options)) end