#134 [pl] polski cenzus płci [wip]

This commit is contained in:
Andrea Vos 2021-01-02 16:57:09 +01:00
parent 4296f818df
commit 1c13e6b933

View File

@ -191,7 +191,7 @@
return true;
}
if (this.question.type === 'radio') {
return this.answers[this.q] !== undefined;
return this.answers[this.q] !== undefined && this.answers[this.q] !== null;
}
if (this.question.type === 'checkbox') {
return this.answers[this.q] !== undefined && this.answers[this.q].length > 0;