Follow #3333 - Tree select has no mutli select on ticket selector for overview, triggers, ... - clone original attributes/do not overwrite original attributes.

This commit is contained in:
Martin Edenhofer 2021-02-09 15:10:32 +01:00 committed by Thorsten Eckel
parent 020f33d0cd
commit 5e2520fc5e

View file

@ -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'