// Only convert if the text value actually changed. Otherwise, keep the old value
// and/or the old validation error (allows to keep errors when clicking on actions)
if (!(newEnteredValue == null ? "" : newEnteredValue).equals((enteredValue == null ? "" : enteredValue))) {
// TODO: Hmmm...
//getForm().addWidgetEvent(new DeferredValueChangedEvent(this, value));
getForm().addWidgetEvent(new DeferredValueChangedEvent(this, getValue()));
enteredValue = newEnteredValue;
validationError = null;
value = null;
needsParse = true;
}