fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-15 00:59:50 +02:00
parent caba7ada28
commit 00d41f1b6e

View File

@ -136,6 +136,13 @@ export class DeesForm extends DeesElement {
const submitButton = this.getSubmitButton();
switch (visualStateArg) {
case 'normal':
submitButton.disabled = false;
submitButton.status = 'normal';
for (const inputChild of inputChildren) {
inputChild.disabled = false;
}
break;
case 'pending':
submitButton.disabled = true;
submitButton.status = 'pending';