From b4a929accf576edc733fde75a81dfad9a3d288ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Jul 2018 11:01:53 +0200 Subject: Add "agree to the terms" checkbox in registration form --- client/src/app/shared/forms/form-reactive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/forms/form-reactive.ts') diff --git a/client/src/app/shared/forms/form-reactive.ts b/client/src/app/shared/forms/form-reactive.ts index e4f7481b5..0bb7d25e6 100644 --- a/client/src/app/shared/forms/form-reactive.ts +++ b/client/src/app/shared/forms/form-reactive.ts @@ -23,7 +23,7 @@ export abstract class FormReactive { this.formErrors = formErrors this.validationMessages = validationMessages - this.form.valueChanges.subscribe(data => this.onValueChanged(false)) + this.form.valueChanges.subscribe(() => this.onValueChanged(false)) } protected onValueChanged (forceCheck = false) { -- cgit v1.2.3