Changeset de18858 for Farmatiko/ClientApp/src/app/counter
- Timestamp:
- 07/29/20 19:46:21 (4 years ago)
- Branches:
- master
- Children:
- 4e72684
- Parents:
- e42f61a
- Location:
- Farmatiko/ClientApp/src/app/counter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/counter/counter.component.html
re42f61a rde18858 53 53 <h2>Здравствени работници</h2> 54 54 <mat-form-field> 55 <input matInput (keyup)="applyFilter ($event.target.value)" placeholder="Пронајди работник">55 <input matInput (keyup)="applyFilterWorkers($event.target.value)" placeholder="Пронајди работник"> 56 56 </mat-form-field> 57 57 </div> … … 77 77 </ng-container> 78 78 79 80 81 79 <tr mat-header-row *matHeaderRowDef="displayedColumnsWorkers"></tr> 82 80 <tr mat-row *matRowDef="let row; columns: displayedColumnsWorkers;"></tr> -
Farmatiko/ClientApp/src/app/counter/counter.component.ts
re42f61a rde18858 49 49 filterValue = filterValue.toLowerCase(); 50 50 this.dataSource.filter = filterValue; 51 } 52 53 applyFilterWorkers(filterValue: string) { 54 filterValue = filterValue.trim(); 55 filterValue = filterValue.toLowerCase(); 51 56 this.dataSourceWorkers.filter = filterValue; 52 57 }
Note:
See TracChangeset
for help on using the changeset viewer.