[Develop]: Advanced search input add on changes reinitialize input style
This commit is contained in:
parent
dede290a52
commit
5a912f02b7
|
@ -58,15 +58,22 @@ export class AdvancedSearchInputComponent implements AfterContentInit, OnDestroy
|
|||
}
|
||||
|
||||
ngAfterContentInit() {
|
||||
this.inputs.forEach(input => {
|
||||
input.inputClass = 'advanced-search';
|
||||
input.selectArrow = null;
|
||||
this.init();
|
||||
this.inputs.changes.subscribe(input => {
|
||||
this.init();
|
||||
});
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
}
|
||||
|
||||
|
||||
init() {
|
||||
this.inputs.forEach(input => {
|
||||
input.inputClass = 'advanced-search';
|
||||
input.selectArrow = null;
|
||||
});
|
||||
}
|
||||
|
||||
focusNext(input: InputComponent | EntitiesSelectionComponent, event: any = null) {
|
||||
if(!event || !event.init) {
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue