Fixed #5445 - Dropdown: throws error when grouped item is selected
parent
7f5078246c
commit
5a099a0f52
|
@ -18,7 +18,7 @@ const classes = {
|
|||
'p-dropdown-label p-inputtext',
|
||||
{
|
||||
'p-placeholder': !props.editable && instance.label === props.placeholder,
|
||||
'p-dropdown-label-empty': !props.editable && !instance.$slots['value'] && (instance.label === 'p-emptylabel' || instance.label.length === 0)
|
||||
'p-dropdown-label-empty': !props.editable && !instance.$slots['value'] && (instance.label === 'p-emptylabel' || instance.label?.length === 0)
|
||||
}
|
||||
],
|
||||
clearIcon: 'p-dropdown-clear-icon',
|
||||
|
|
Loading…
Reference in New Issue