primeng autocomplete dropdown not showing code example

Example 1: autocomplete off in primeng dropdown

<div class="p-field p-col-12 p-md-4 pad-t-10" >
                    <form autocomplete="off">
                            <label class="ui-g-6">Area<span style="color: red;">*</span></label>
                            <!-- [value]="companyAreaFor" -->
                        <p-dropdown [options]="areaAndCityList" [ngModelOptions]="{standalone: true}" editable="true" [(ngModel)]="selectArea" [disabled]="inactive" [placeholder]="selectArea" filter="true" optionLabel="postOffice"
                        (onChange)="onchangeArea($event)"
                            ></p-dropdown>
                        
                </form>

                </div>

Example 2: autocomplete off in primeng dropdown

<div class="p-field p-col-12 p-md-4 pad-t-10" >
                    <form autocomplete="off">
                            <label class="ui-g-6">Area<span style="color: red;">*</span></label>
                            <!-- [value]="companyAreaFor" -->
                        <p-dropdown [options]="areaAndCityList" editable="true" [(ngModel)]="selectArea" [disabled]="inactive" [placeholder]="selectArea" filter="true" optionLabel="postOffice"
                        (onChange)="onchangeArea($event)"
                            ></p-dropdown>
                        
                </form>
                
                </div>

Tags:

Misc Example