From d77809017db519ba1979d0db60cc2d8e167d7219 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 7 Dec 2023 14:09:01 +0300 Subject: [PATCH] Fixed #4923 - Dropdown: Overlapping Clear Icon while disabled --- components/lib/dropdown/style/DropdownStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/dropdown/style/DropdownStyle.js b/components/lib/dropdown/style/DropdownStyle.js index 9ddb31966..079838082 100644 --- a/components/lib/dropdown/style/DropdownStyle.js +++ b/components/lib/dropdown/style/DropdownStyle.js @@ -102,7 +102,7 @@ const classes = { 'p-dropdown p-component p-inputwrapper', { 'p-disabled': props.disabled, - 'p-dropdown-clearable': props.showClear && !props.disabled, + 'p-dropdown-clearable': props.showClear, 'p-focus': state.focused, 'p-inputwrapper-filled': instance.hasSelectedOption, 'p-inputwrapper-focus': state.focused || state.overlayVisible,