fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-15 13:10:28 +02:00
parent 3ce0683a05
commit 5dd3da9f31

View File

@ -103,8 +103,10 @@ export class DeesForm extends DeesElement {
requiredOK = false; requiredOK = false;
} }
} }
if (this.getSubmitButton()) {
this.getSubmitButton().disabled = !requiredOK; this.getSubmitButton().disabled = !requiredOK;
} }
}
public async gatherData() { public async gatherData() {
const children = this.getFormChildren(); const children = this.getFormChildren();