updateEditorValue(index, newValue) {
    newValue = this.getConvertedValue(this.trimBlanks(newValue));
    const dataValue = this.dataValue;
    if (this.component.multiple && Array.isArray(dataValue)) {
      const newArray = _.clone(dataValue);
      newArray[index] = newValue;
      newValue = newArray;
    }

    if ((!_.isEqual(newValue, dataValue)) && (!_.isEmpty(newValue) || !_.isEmpty(dataValue))) {
      this.updateValue(newValue, {
        modified: !this.autoModified
      }, index);
    }
    this.autoModified = false;
  }
Updates the editor value.
@param {number} index - The index of the editor.
@param {any} newValue - The new editor value.