mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5445 - Dropdown: throws error when grouped item is selected
This commit is contained in:
parent
7f5078246c
commit
5a099a0f52
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue