diff --git a/src/app/ui/dropdown.js b/src/app/ui/dropdown.js index f7d7292bba..0621027566 100644 --- a/src/app/ui/dropdown.js +++ b/src/app/ui/dropdown.js @@ -65,7 +65,9 @@ class Dropdown { self.event = new EventManager() self.data = { _options: opts.options || [], - selected: opts.defaults || [] + _dependencies: opts.dependencies || [], + selected: opts.defaults || [], + _elements: [] } self._view = {} self._api = opts.api @@ -85,11 +87,12 @@ class Dropdown { ${self._view.selected}