set currentForm(instance) {
    super.currentForm = instance;
    this.getComponents().forEach(component => {
      component.currentForm = instance;
    });
  }
Set currentForm object.
@param {object} instance - The current form object.
@returns {void}