Closed
Description
Bug:
Clicking on autocomplete opens browser autocomplete on top of material2 autocomplete
Note: sometimes it takes a double click to re open the browser's autocomplete.
Expected behavior:
Browser autocomplete should be disabled
Current implementation
<mat-form-field id="recipe-form__nations" >
<input type="text" matInput ngModel name="nation" placeholder="Nation" autocomplete="off" [matAutocomplete]="auto">
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let nation of nationalities" [value]="">
{{ nation }}
</mat-option>
</mat-autocomplete>
</mat-form-field>
Version in use?
"@angular/animations": "6.0.5",
"@angular/cdk": "^6.2.1",
"@angular/common": "6.0.5",
"@angular/compiler": "6.0.5",
"@angular/core": "6.0.5",
"@angular/forms": "6.0.5",
"@angular/http": "6.0.5",
"@angular/material": "^6.2.1",