@firestitch/address
Version:
@firestitch/address
18 lines (14 loc) • 505 B
HTML
<mat-form-field>
<input matInput
placeholder="Location"
[ngModel]="address.description"
(ngModelChange)="addressChanged($event)"
(change)="change($event);"
#search
[matAutocomplete]="auto">
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="selectionChange($event)">
<mat-option *ngFor="let option of predictions" [value]="option.description">
{{option.description}}
</mat-option>
</mat-autocomplete>
</mat-form-field>