onSetSubFormValue(submission, flags) {
    this.subForm.setValue(submission, flags);
    if (flags?.fromSubmission) {
      this.subForm.submissionReadyResolve(submission);
    }
  }
Sets the subform value
@param {object|null|undefined} submission - The submission to set.
@param {object|null|undefined} flags - Any flags to apply when setting the submission.
@returns {void}