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 c52e0d1190b45ba74feba7248c427ad78b278783..3ac96a7ce4ad40867b53fea77dea8d7f39d39959 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 9091f23ea4fb358c93a0681a026dc4b578a5f3d8..1abd8400abb1a679853d81b40c6c635a636d8cd9 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>