Remove arrow from select inputs in advanced search input. Add focus next in advanced search input.

This commit is contained in:
Konstantinos Triantafyllou 2022-06-01 17:39:31 +03:00
parent b6b9aeb661
commit 7ef6ae1481
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import {OpenaireEntities} from "../../utils/properties/searchFields";
selector: 'entities-selection',
template: `
<ng-container *ngIf="simpleView && entities.length > 0">
<div #input input placeholder="Type" hint="What type of content?" inputClass="advanced-search"
<div #input input placeholder="Type" hint="What type of content?" inputClass="advanced-search" [selectArrow]="null"
[options]="entities" [(value)]="selectedEntity" (valueChange)="entityChanged()" type="select"></div>
</ng-container>
<ng-container *ngIf="!simpleView && entities.length > 0">

View File

@ -56,6 +56,7 @@ export class AdvancedSearchInputComponent implements AfterContentInit, OnDestroy
ngAfterContentInit() {
this.inputs.forEach(input => {
input.inputClass = 'advanced-search';
input.selectArrow = null;
});
}