Commit e2d51b9d authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent afcd08c7
......@@ -7,7 +7,7 @@
<form (submit)="search(searchControl.value)">
<input type="search" placeholder="卡片搜索" name="key" [matAutocomplete]="auto" [formControl]="searchControl">
<mat-autocomplete #auto="matAutocomplete">
<mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
<mat-option *ngFor="let card of suggestion | async" [value]="card" (onSelectionChange)="search(card)">
{{ card }}
</mat-option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment