diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.html b/apps/dafa-web/src/app/pages/participants/participants.component.html index 7a3956e..6ade5a7 100644 --- a/apps/dafa-web/src/app/pages/participants/participants.component.html +++ b/apps/dafa-web/src/app/pages/participants/participants.component.html @@ -7,7 +7,7 @@ leo quis ante porttitor tincidunt. Nam tincidunt imperdiet tortor eu suscipit. Maecenas ut dui est.

-
+ (''); - handleSearchSubmit($event: SubmitEvent): void { + get searchValue(): string { + return this._searchValue$.getValue(); + } + + handleSearchSubmit(): void { console.log(this.searchValue); - console.log($event); } handleSearchInput($event: CustomEvent): void { - this.searchValue = $event.detail.target.value; + this._searchValue$.next($event.detail.target.value); } }