I'm stuck at making the md-autocomplete's width grow to become the size of the relevant mdInput. Here's my code:
<div class="field">
<md-input-container class="halfWidth">
<input mdInput
type="text"
name="country"
[(ngModel)]="model.Country"
(ngModelChange)="filterCountries()"
[disabled]="progress"
[mdAutocomplete]="countriesAutocomplete"
placeholder="Country"
required />
</md-input-container>
<md-autocomplete #countriesAutocomplete="mdAutocomplete"
[displayWith]="getCountryName">
<md-option *ngFor="let country of countries"
[value]="country"
class="fullWidth">
{{ country.PersianName || country.EnglishName }}
</md-option>
</md-autocomplete>
</div>
And here's the result picture:
I used md-autocomplete
and md-autocomplete .mat-autocomplete-panel
CSS selectors, but no result.