diff --git a/packages/sage-react/lib/Dropdown/OptionsDropdown.jsx b/packages/sage-react/lib/Dropdown/OptionsDropdown.jsx index 8d0ef9d251..b7a8d89276 100644 --- a/packages/sage-react/lib/Dropdown/OptionsDropdown.jsx +++ b/packages/sage-react/lib/Dropdown/OptionsDropdown.jsx @@ -15,6 +15,7 @@ export const OptionsDropdown = ({ panelSize, options, triggerButtonSubtle, + ...rest // Used as an option to pass other props to Dropdown (base) component }) => ( diff --git a/packages/sage-react/lib/Dropdown/SelectDropdown.jsx b/packages/sage-react/lib/Dropdown/SelectDropdown.jsx index 416b5a3c47..850e7df84e 100644 --- a/packages/sage-react/lib/Dropdown/SelectDropdown.jsx +++ b/packages/sage-react/lib/Dropdown/SelectDropdown.jsx @@ -37,6 +37,7 @@ export const SelectDropdown = ({ selectionBecomesLabel, showSelectionsAsLabels, triggerWidth, + ...rest // Used as an option to pass other props to Dropdown (base) component }) => { const emptySelectedValue = ( <> @@ -213,6 +214,7 @@ export const SelectDropdown = ({ panelSize={panelSize} triggerModifier="select" triggerWidth={triggerWidth} + {...rest} > (