diff --git a/client/src/app/shared/components/check-input/check-input.component.ts b/client/src/app/shared/components/check-input/check-input.component.ts index 7e7d6ca44..d72033256 100644 --- a/client/src/app/shared/components/check-input/check-input.component.ts +++ b/client/src/app/shared/components/check-input/check-input.component.ts @@ -66,7 +66,13 @@ export class CheckInputComponent extends BaseViewComponent implements OnInit, Co * Subscribes to value-changes of the form-control. */ public ngOnInit(): void { - this.subscriptions.push(this.contentForm.valueChanges.subscribe(value => this.sendValue(value))); + this.subscriptions.push( + this.contentForm.valueChanges.subscribe(value => { + if (value) { + this.sendValue(value); + } + }) + ); } /** diff --git a/client/src/app/site/polls/components/poll-form/poll-form.component.html b/client/src/app/site/polls/components/poll-form/poll-form.component.html index 075654461..2ff0ac862 100644 --- a/client/src/app/site/polls/components/poll-form/poll-form.component.html +++ b/client/src/app/site/polls/components/poll-form/poll-form.component.html @@ -8,17 +8,6 @@ - -