Skip to content
Snippets Groups Projects
Commit 62e1b403 authored by Tim Robin Schweizer's avatar Tim Robin Schweizer
Browse files

Revert placeholder change for moderator-comment-list and comment-list component

parent 15300db5
Branches
No related merge requests found
......@@ -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 = '';">
......
......@@ -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>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment