diff --git a/frontend/src/Editor/Components/DropDown.jsx b/frontend/src/Editor/Components/DropDown.jsx index b78cb0136f..5a90e83db2 100644 --- a/frontend/src/Editor/Components/DropDown.jsx +++ b/frontend/src/Editor/Components/DropDown.jsx @@ -1,7 +1,6 @@ import _ from 'lodash'; import React, { useState, useEffect } from 'react'; import Select from 'react-select'; - export const DropDown = function DropDown({ height, validate, @@ -10,6 +9,9 @@ export const DropDown = function DropDown({ setExposedVariable, fireEvent, darkMode, + onComponentClick, + id, + component, }) { let { label, value, display_values, values } = properties; const { visibility, disabledState } = styles; @@ -130,7 +132,13 @@ export const DropDown = function DropDown({ return ( <> -
+
{ + onComponentClick(id, component, event); + }} + >