From 3e91f55d227d46285f3accbce37bda1b3c7428b6 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 19 Jun 2025 03:05:32 +0200 Subject: [PATCH] fix(MultiselectMenu): support disabled prop --- src/components/MultiselectMenu/MultiselectMenu.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/MultiselectMenu/MultiselectMenu.tsx b/src/components/MultiselectMenu/MultiselectMenu.tsx index 3251f01fa..eb288a12b 100644 --- a/src/components/MultiselectMenu/MultiselectMenu.tsx +++ b/src/components/MultiselectMenu/MultiselectMenu.tsx @@ -18,7 +18,7 @@ type Props = { onSelect: (value: any) => void; }; -const MultiselectMenu = ({ className, title, options, value, onSelect }: Props) => { +const MultiselectMenu = ({ className, title, options, value, disabled, onSelect }: Props) => { const [menuOpen, , closeMenu, toggleMenu] = useBinaryState(false); const multiselectMenuRef = useOutsideClick(() => closeMenu()); const [level, setLevel] = React.useState(0); @@ -33,6 +33,7 @@ const MultiselectMenu = ({ className, title, options, value, onSelect }: Props)