Fixed #4923 - Dropdown: Overlapping Clear Icon while disabled

pull/4878/head
tugcekucukoglu 2023-12-07 14:09:01 +03:00
parent bdd44dc526
commit d77809017d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ const classes = {
'p-dropdown p-component p-inputwrapper', 'p-dropdown p-component p-inputwrapper',
{ {
'p-disabled': props.disabled, 'p-disabled': props.disabled,
'p-dropdown-clearable': props.showClear && !props.disabled, 'p-dropdown-clearable': props.showClear,
'p-focus': state.focused, 'p-focus': state.focused,
'p-inputwrapper-filled': instance.hasSelectedOption, 'p-inputwrapper-filled': instance.hasSelectedOption,
'p-inputwrapper-focus': state.focused || state.overlayVisible, 'p-inputwrapper-focus': state.focused || state.overlayVisible,