isChangeValid(change, error) {
    this.formatter = this._formatterForPan(change.proposed.text);
    return this.formatter.isChangeValid(change, error);
  }
Determines whether the given change should be allowed and, if so, whether
it should be altered.

@param {TextFieldStateChange} change
@param {function(!string)} error
@returns {boolean}