How to get the text name of selected dropdown value.
Using a prime ng dropdown
HTML
<p-dropdown [options]="regionSelectList" [(ngModel)]="reg" [filter]="true" [ngModelOptions]="{standalone: true}"> </p-dropdown>
<button class="btn btn-primary" (click)="addRecipient(reg);">Add</button>
TS
addRecipient(reg: any){
console.log(reg) //which return code not text.
}
How can I get the text or label also with code ?