Skip to content

Commit

Permalink
FIO-8111 refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
HannaKurban committed Mar 28, 2024
1 parent 57d8358 commit 8dc00a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/form/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,10 @@ export default class FormComponent extends Component {
this.subForm.nosubmit = true;
this.subForm.root = this.root;
this.subForm.localRoot = this.isNestedWizard ? this.localRoot : this.subForm;
this.subForm.draftEnabled = this.parent.draftEnabled;
this.subForm.savingDraft = this.parent.savingDraft;
if (this.parent) {
this.subForm.draftEnabled = this.parent.draftEnabled;
this.subForm.savingDraft = this.parent.savingDraft;
}
this.restoreValue();
this.valueChanged = this.hasSetValue;
this.onChange();
Expand Down

0 comments on commit 8dc00a7

Please sign in to comment.