setLocalStateField(field, value) {
    const state = this.getLocalState();

    if (state !== null) {
      this.setLocalState({ ...state,
        [field]: value
      });
    }
  }
@param {string} field
@param {any} value