<form class="type-form" fxFlex="3em">
    <mat-form-field class="sectionList">
        <mat-label>Pick one section</mat-label>
        <input type="text"
            matInput
            [formControl]="myControl"
            [matAutocomplete]="auto"
            #ipt>
    </mat-form-field>

    <mat-autocomplete
            #auto="matAutocomplete"
            [displayWith]="displayFn"
            >
        <mat-option *ngFor="let item of filteredOptions | async" [value]="item">
            {{ item.name }}
        </mat-option>
    </mat-autocomplete>
</form>

<div class='plot' *ngIf='currentSection'>
    <img [src]="currentSection.plot"/>
</div>