Update CascadeSelectStyle.js

pull/7034/head
tugcekucukoglu 2024-12-30 14:35:14 +03:00
parent f3fee06a3f
commit 2b114f616b
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ const classes = {
'p-cascadeselect-label', 'p-cascadeselect-label',
{ {
'p-placeholder': instance.label === props.placeholder, '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', clearIcon: 'p-cascadeselect-clear-icon',