Remove arrow from select inputs in advanced search input. Add focus next in advanced search input.
This commit is contained in:
parent
b6b9aeb661
commit
7ef6ae1481
|
@ -12,7 +12,7 @@ import {OpenaireEntities} from "../../utils/properties/searchFields";
|
||||||
selector: 'entities-selection',
|
selector: 'entities-selection',
|
||||||
template: `
|
template: `
|
||||||
<ng-container *ngIf="simpleView && entities.length > 0">
|
<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>
|
[options]="entities" [(value)]="selectedEntity" (valueChange)="entityChanged()" type="select"></div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="!simpleView && entities.length > 0">
|
<ng-container *ngIf="!simpleView && entities.length > 0">
|
||||||
|
|
|
@ -56,6 +56,7 @@ export class AdvancedSearchInputComponent implements AfterContentInit, OnDestroy
|
||||||
ngAfterContentInit() {
|
ngAfterContentInit() {
|
||||||
this.inputs.forEach(input => {
|
this.inputs.forEach(input => {
|
||||||
input.inputClass = 'advanced-search';
|
input.inputClass = 'advanced-search';
|
||||||
|
input.selectArrow = null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue