diff --git a/client/src/app/shared/shared-forms/select/select-options.component.ts b/client/src/app/shared/shared-forms/select/select-options.component.ts index e7a8fbf9f..719eb6c83 100644 --- a/client/src/app/shared/shared-forms/select/select-options.component.ts +++ b/client/src/app/shared/shared-forms/select/select-options.component.ts @@ -67,8 +67,11 @@ export class SelectOptionsComponent implements AfterContentInit, ControlValueAcc // Allow plugins to update our value @HostListener('change', [ '$event.target' ]) - handleChange (event: any) { - this.writeValue(event.value) + handleChange (target: HTMLInputElement) { + // Prevent the primeng search input to out value + if (target.role === 'searchbox') return + + this.writeValue(target.value) this.onModelChange() }