mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 11:32:47 +00:00
Add MatInputModule
This commit is contained in:
parent
d521878755
commit
b191a1d972
@ -11,6 +11,8 @@ import {MatGridListModule} from '@angular/material/grid-list';
|
|||||||
import {MatFormFieldModule} from '@angular/material/form-field';
|
import {MatFormFieldModule} from '@angular/material/form-field';
|
||||||
import {MatSelectModule} from '@angular/material/select';
|
import {MatSelectModule} from '@angular/material/select';
|
||||||
import {MatButtonModule} from '@angular/material/button';
|
import {MatButtonModule} from '@angular/material/button';
|
||||||
|
import {MatInputModule} from '@angular/material';
|
||||||
|
|
||||||
|
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { OpenLPService } from './openlp.service';
|
import { OpenLPService } from './openlp.service';
|
||||||
@ -43,7 +45,8 @@ import { FormsModule } from '@angular/forms';
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatSelectModule,
|
MatSelectModule,
|
||||||
MatButtonModule
|
MatButtonModule,
|
||||||
|
MatInputModule
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
OpenLPService
|
OpenLPService
|
||||||
|
@ -14,7 +14,8 @@ template: `
|
|||||||
</mat-select>
|
</mat-select>
|
||||||
<br>
|
<br>
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<input matInput [(ngModel)]="searchText" name="searchText" placeholder="Search Text"></mat-form-field>
|
<input matInput [(ngModel)]="searchText" name="searchText" placeholder="Search Text">
|
||||||
|
</mat-form-field>
|
||||||
<br>
|
<br>
|
||||||
<button mat-raised-button color="warn" (click)="onSubmit()">Search</button>
|
<button mat-raised-button color="warn" (click)="onSubmit()">Search</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user