onSetSubmission(submission, flags = {}) {
      this.submissionSet = true;
      this.triggerChange(flags);
      this.emit('beforeSetSubmission', submission);
      this.setValue(submission, flags);
    }
Sets the submission 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}