can anyone help me to customize the default error message in p-dropdown
Here is the code:
<p-dropdown [options]="vehicleList" [(ngModel)]="selectedVehicle" [ngModelOptions]="{standalone: true}" placeholder="Select" optionLabel="label" [showClear]="false" dropdownIcon="pi pi-caret-down" required requiredMessage="Please select the vehicle">
Please find the image for reference
need to change the "Please select item in list" error message to "Select a vehicle".