TextField With Validation Error Label Add On
TextField with validation error label Add On
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); }
Links
Compatibility
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 OnExtended TextField with a validation error label.
Source Code With DemoTextField With Validation Error Label Add On version 0.1
null