fix jukebox form
This commit is contained in:
parent
8900b576a2
commit
d49dedd242
@ -1,14 +1,13 @@
|
|||||||
<div *ngIf="active">
|
<div *ngIf="active">
|
||||||
|
<form (submit)="search()">
|
||||||
<mat-card>
|
<mat-card>
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>{{'jukebox' | i18n}}</mat-card-title>
|
<mat-card-title>{{'jukebox' | i18n}}</mat-card-title>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<form (submit)="search()">
|
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<input matInput [formControl]="searchFormControl" placeholder="{{'jukebox.search' | i18n}}">
|
<input matInput [formControl]="searchFormControl" placeholder="{{'jukebox.search' | i18n}}">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</form>
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
<button mat-raised-button type="submit" [disabled]="!searchFormControl.value || timeout > 0 || searchDisabled">
|
<button mat-raised-button type="submit" [disabled]="!searchFormControl.value || timeout > 0 || searchDisabled">
|
||||||
@ -17,6 +16,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
</form>
|
||||||
|
|
||||||
<p *ngIf="timeout">{{'jukebox.timeout' | i18n:timeout}}</p>
|
<p *ngIf="timeout">{{'jukebox.timeout' | i18n:timeout}}</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user