fix(core): update
This commit is contained in:
parent
caba7ada28
commit
00d41f1b6e
@ -136,6 +136,13 @@ export class DeesForm extends DeesElement {
|
|||||||
const submitButton = this.getSubmitButton();
|
const submitButton = this.getSubmitButton();
|
||||||
|
|
||||||
switch (visualStateArg) {
|
switch (visualStateArg) {
|
||||||
|
case 'normal':
|
||||||
|
submitButton.disabled = false;
|
||||||
|
submitButton.status = 'normal';
|
||||||
|
for (const inputChild of inputChildren) {
|
||||||
|
inputChild.disabled = false;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case 'pending':
|
case 'pending':
|
||||||
submitButton.disabled = true;
|
submitButton.disabled = true;
|
||||||
submitButton.status = 'pending';
|
submitButton.status = 'pending';
|
||||||
|
Loading…
Reference in New Issue
Block a user