I face a problem when trying to send selected item value, when iterating over an array of strings like : ("BMW", "FERRARI", "AUDI","BENTLY")
here is my HTML
<p-dropdown optionLabel="type" [options]="cars" formControlName="name"
editable="true" optionLabel="" optionValue="" (onChange)="loadCarsByName(name)">
</p-dropdown>
The value passed in my loadCarsByName method is undefined any ideas will be welcomed.