<div *ngIf="!probeHostID"> <p-dropdown *ngIf="options.length > 0" [options]="options" [(ngModel)]="selected" optionLabel="displayName" placeholder="Select a Probe" (onChange)="onSelect($event.value)"></p-dropdown> </div>