commented

This commit is contained in:
Anton Domnikov 2017-02-08 19:50:09 +03:00
parent d0cdce3e2c
commit 2a6dcd5422
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ public class EditTextValidationController<TModel extends Serializable>
return new NonNullPair<>(focus, getValidator().fullValidate(text));
}
/**
* If we don't want to show error when focus is lost.
*
* @param showErrorOnFocusOut show an error or don't show an error.
*
*/
public void setShowErrorOnFocusOut(final boolean showErrorOnFocusOut) {
this.showErrorOnFocusOut = showErrorOnFocusOut;
}