From b4250dec422bfa87e6e712a4b5ae87b9e779eb04 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Wed, 8 May 2024 16:40:26 +0300 Subject: [PATCH] fix(Dropdown): fix defaults - caused tests to fail --- packages/core/src/components/Dropdown/Dropdown.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/core/src/components/Dropdown/Dropdown.tsx b/packages/core/src/components/Dropdown/Dropdown.tsx index e3b588ff5e..1f4e6a8466 100644 --- a/packages/core/src/components/Dropdown/Dropdown.tsx +++ b/packages/core/src/components/Dropdown/Dropdown.tsx @@ -51,9 +51,9 @@ const Dropdown: VibeComponent & { optionWrapperClassName, singleValueWrapperClassName, dropdownMenuWrapperClassName, - placeholder, - disabled, - readOnly, + placeholder = "", + disabled = false, + readOnly = false, withReadOnlyStyle, onMenuOpen = NOOP, onMenuClose = NOOP, @@ -101,9 +101,9 @@ const Dropdown: VibeComponent & { isOptionSelected, insideOverflowContainer = false, insideOverflowWithTransformContainer = false, - tooltipContent, + tooltipContent = "", onKeyDown = NOOP, - isLoading, + isLoading = false, loadingMessage, ariaLabel, tabSelectsValue = true,