Directory

← Back

TextField With Validation Error Label Add On

TextField with validation error label Add On

Author

Rating

Popularity

<100

Extended TextField with a validation error label.

Sample code

TextFieldExt tf = new TextFieldExt();

tf.addValidator(new StringLengthValidator("validation error !", 2, 3, false));

tf.setValidationVisible(false);

layout.addComponent(tf);

try {

  tf.validate();

} catch (Exception e) {

    tf.setValidationVisible(true);

}

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2016-01-27
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 6.0+
Vaadin 7.6+
Browser
N/A

TextField With Validation Error Label Add On - Vaadin Add-on Directory

TextField with validation error label Add On TextField With Validation Error Label Add On - Vaadin Add-on Directory
Extended TextField with a validation error label.
Source Code With Demo

TextField With Validation Error Label Add On version 0.1
null

Online