mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +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 {MatSelectModule} from '@angular/material/select';
|
||||
import {MatButtonModule} from '@angular/material/button';
|
||||
import {MatInputModule} from '@angular/material';
|
||||
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { OpenLPService } from './openlp.service';
|
||||
@ -43,7 +45,8 @@ import { FormsModule } from '@angular/forms';
|
||||
FormsModule,
|
||||
MatFormFieldModule,
|
||||
MatSelectModule,
|
||||
MatButtonModule
|
||||
MatButtonModule,
|
||||
MatInputModule
|
||||
],
|
||||
providers: [
|
||||
OpenLPService
|
||||
|
@ -14,7 +14,8 @@ template: `
|
||||
</mat-select>
|
||||
<br>
|
||||
<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>
|
||||
<button mat-raised-button color="warn" (click)="onSubmit()">Search</button>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user