diff --git a/src/Components/Form/MultiSelectMenuV2.tsx b/src/Components/Form/MultiSelectMenuV2.tsx index 167a62b7d2b..0ed798fffe1 100644 --- a/src/Components/Form/MultiSelectMenuV2.tsx +++ b/src/Components/Form/MultiSelectMenuV2.tsx @@ -108,7 +108,8 @@ const MultiSelectMenuV2 = (props: Props) => { { + onRemove={(e) => { + e.stopPropagation(); const updatedOptions = selectedOptions.filter( (selectedOption) => selectedOption.value !== option.value @@ -177,7 +178,7 @@ export default MultiSelectMenuV2; interface MultiSelectOptionChipProps { label: ReactNode; - onRemove?: () => void; + onRemove?: (e: any) => void; } export const MultiSelectOptionChip = (props: MultiSelectOptionChipProps) => {