Fixed #1995 - Dropdown doesn't display empty string
parent
6a1bb96376
commit
6032532358
|
@ -691,7 +691,7 @@ export default {
|
|||
},
|
||||
label() {
|
||||
let selectedOption = this.getSelectedOption();
|
||||
if (selectedOption)
|
||||
if (selectedOption !== null)
|
||||
return this.getOptionLabel(selectedOption);
|
||||
else
|
||||
return this.placeholder||'p-emptylabel';
|
||||
|
|
Loading…
Reference in New Issue