I use the Dropdown look like:
Code: Select all
<p-dropdown [options]="vehicleTypes" placeholder="Vehicle Type" optionLabel="label" formControlName="vehicleType">
Code: Select all
{label: "TYPE 1", value: "1"}
Code: Select all
<p-dropdown [options]="vehicleTypes" placeholder="Vehicle Type" optionLabel="label" formControlName="vehicleType">
Code: Select all
{label: "TYPE 1", value: "1"}
Users browsing this forum: No registered users and 14 guests