Skip to content

Commit

Permalink
Update CascadeSelectStyle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Dec 30, 2024
1 parent f3fee06 commit 2b114f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const classes = {
'p-cascadeselect-label',
{
'p-placeholder': instance.label === props.placeholder,
'p-cascadeselect-label-empty': !instance.$slots['value'] && (instance.label === 'p-emptylabel' || instance.label.length === 0)
'p-cascadeselect-label-empty': !instance.$slots['value'] && (instance.label === 'p-emptylabel' || instance.label?.length === 0)
}
],
clearIcon: 'p-cascadeselect-clear-icon',
Expand Down

0 comments on commit 2b114f6

Please sign in to comment.