- {{ 'SEARCH.INPUT.PLACEHOLDER' | translate }}
+ (keyup.enter)="searchSubmit($event)"
+ [placeholder]="'SEARCH.INPUT.PLACEHOLDER' | translate">
+
- arrow_drop_down
+ clear
+ arrow_drop_down
diff --git a/src/app/components/search/search-input-control/search-input-control.component.scss b/src/app/components/search/search-input-control/search-input-control.component.scss
index b579e498c4..e261e3cc48 100644
--- a/src/app/components/search/search-input-control/search-input-control.component.scss
+++ b/src/app/components/search/search-input-control/search-input-control.component.scss
@@ -11,6 +11,10 @@ $top-margin: 12px;
.mat-form-field-label-wrapper {
cursor: text;
+ }
+
+ // fixes pointer event on FF
+ &.searchMenuTrigger .mat-form-field-label-wrapper {
pointer-events: auto;
}
@@ -23,10 +27,6 @@ $top-margin: 12px;
}
}
- .mat-focused .placeholder {
- color: transparent;
- }
-
.app-search-button.mat-icon-button {
top: -2px;
left: -8px;
@@ -48,4 +48,9 @@ $top-margin: 12px;
font-size: 24px;
cursor: pointer;
}
+
+ .app-clear-icon {
+ font-size: 18px;
+ margin: 3px;
+ }
}
diff --git a/src/app/components/search/search-input/search-input.component.html b/src/app/components/search/search-input/search-input.component.html
index b2a02add5d..c6dddd8629 100644
--- a/src/app/components/search/search-input/search-input.component.html
+++ b/src/app/components/search/search-input/search-input.component.html
@@ -1,16 +1,17 @@
-