constructor(elementOrOptions = undefined, _options = undefined) {
    let element, options;
    if (elementOrOptions instanceof HTMLElement || _options) {
        element = elementOrOptions;
        options = _options || {};
    } else {
        options = elementOrOptions || {};
    }

    options.display = 'wizard';
    super(element, options);
    this.pages = [];
    this.prefixComps = [];
    this.suffixComps = [];
    this.components = [];
    this.originalComponents = [];
    this.page = 0;
    this.currentPanel = null;
    this.currentNextPage = 0;
    this._seenPages = [0];
    this.subWizards = [];
    this.allPages = [];
    this.lastPromise = Promise.resolve();
    this.enabledIndex = 0;
    this.editMode = false;
    this.originalOptions = _.cloneDeep(this.options);
  }
Constructor for wizard-based forms.
@param {HTMLElement | object | import('Form').FormOptions} [elementOrOptions] - The DOM element to render this form within or the options to create this form instance.
@param {import('Form').FormOptions} [_options] - The options to create a new form instance.
   - breadcrumbSettings.clickable: true (default) - determines if the breadcrumb bar is clickable.
   - buttonSettings.show*(Previous, Next, Cancel): true (default) - determines if the button is shown.
   - allowPrevious: false (default) - determines if the breadcrumb bar is clickable for visited tabs.