commented
This commit is contained in:
parent
d0cdce3e2c
commit
2a6dcd5422
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue