I use your controls and am very satisfied.
Regarding the auto-complete control, its corresponding value in the object is in a primitive variable, and I see that the control does not know how to show me the value that comes from the DB on the screen properly.
Below is a sample code:
Code: Select all
<p-autoComplete [required]="true" id="organizationId" [(ngModel)]="requestUpdateField.organizationId" [forceSelection]="true"
inputId="organizationId" name="organizationId" field="OrganizationName" #organizationId="ngModel"
[suggestions]="organizationFilterList" (completeMethod)="filterOrganization($event)">
</p-autoComplete>
Code: Select all
organizationId?: string;
Thanks for the solution.
Thanks,
Leah