Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix select search input

Chocobozzz306257686c28
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 e7a8fbf9fa..719eb6c830 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()
}