interpolate(string, data, options = {}) {
    if (typeof string !== 'function' && (this.component.content || this.component.html)
      && !FormioUtils.Evaluator.templateSettings.interpolate.test(string)) {
      string = FormioUtils.translateHTMLTemplate(String(string), (value) => this.t(value));
    }

    if (this.component.filter === string && !this.options.building) {
      const evalContext = this.evalContext(data);
      evalContext.data = _.mapValues(evalContext.data, (val) => _.isString(val) ? encodeURIComponent(val) : val);
      return FormioUtils.Evaluator.interpolate(string, evalContext, options);
    }
    return FormioUtils.Evaluator.interpolate(string, this.evalContext(data), options);
  }
Performs an interpolation using the evaluation context of this component.
@param {string} string - The string to interpolate.
@param {object} data - The data to use in the interpolation.
@param {object} options - The options to pass to the interpolation.
@returns {XML|string|*|void} - The interpolated string.