diff --git a/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee b/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee index 8116b5522..7022ad61d 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/tree_select_search.coffee @@ -1,6 +1,9 @@ # coffeelint: disable=camel_case_classes class App.UiElement.tree_select_search extends App.UiElement.ApplicationUiElement - @render: (attribute, params) -> + @render: (localAttribute, params) -> + + # clone original attribute + attribute = clone(localAttribute) # set multiple option attribute.multiple = 'multiple'