I want to set two values in one label. As an example, if I open dropdown it should show as
"value1 value2"
in one line with space. value1
and value2
data are getting from the database. I tried using the below method but it has not worked.
<p-dropdown [options]="divitionArr" name="business_divition" [(ngModel)]="project.business_divition" optionLabel="{'first_name','last_name'}" optionValue="divition" #diviSel="ngModel"></p-dropdown>