From 62e1b403b26d07127275b2e387e3415b05cca29b Mon Sep 17 00:00:00 2001 From: Tim Robin Schweizer <tim.schweizer@mni.thm.de> Date: Wed, 18 Sep 2019 13:30:01 +0000 Subject: [PATCH] Revert placeholder change for moderator-comment-list and comment-list component --- .../moderator-comment-list.component.html | 3 +-- .../components/shared/comment-list/comment-list.component.html | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html index c52e0d119..3ac96a7ce 100644 --- a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html +++ b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html @@ -6,9 +6,8 @@ <input (focus)="eventService.makeFocusOnInputTrue()" (blur)="eventService.makeFocusOnInputFalse()" #searchBox id="searchBox" [ngClass]="{'desktop-input': deviceType === 'desktop', 'mobile-input': deviceType === 'mobile' && !search, 'mobile-input-2': deviceType === 'mobile' && search }" - (input)="searchComments()" [(ngModel)]="searchInput" + (input)="searchComments()" [(ngModel)]="searchInput" [placeholder]="searchPlaceholder" aria-labelledby="search-box-input-description"/> - <mat-placeholder class="placeholder">{{ searchPlaceholder }}</mat-placeholder> <button id="search_close-button" mat-icon-button class="searchBarButton close" *ngIf="searchInput !== '' || search" (click)="hideCommentsList=false; searchInput = ''; search = false; searchPlaceholder = '';"> diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html index 9091f23ea..1abd8400a 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -5,9 +5,8 @@ </mat-label> <input (focus)="eventService.makeFocusOnInputTrue()" (blur)="eventService.makeFocusOnInputFalse()" #searchBox id="searchBox" [ngClass]="{'desktop-input': deviceType === 'desktop', 'mobile-input': deviceType === 'mobile' && !search, 'mobile-input-2': deviceType === 'mobile' && search }" - (input)="searchComments()" [(ngModel)]="searchInput" + (input)="searchComments()" [(ngModel)]="searchInput" [placeholder]="searchPlaceholder" aria-labelledby="search-box-input-description"> - <mat-placeholder class="placeholder">{{ searchPlaceholder }}</mat-placeholder> <button id="search_close-button" mat-icon-button class="searchBarButton close" *ngIf="searchInput !== '' || search" (click)="hideCommentsList=false; searchInput = ''; search = false; searchPlaceholder = '';" aria-labelledby="close_search"> <mat-icon>close</mat-icon> -- GitLab