Setting the Value
Label
Prefix and Suffix
$
@vaadin.com
TabIndex
Data Binding
[[value]]
Required Input
is valid
is invalid
Minlength and Maxlength Validation
type at least 2 characters
you cannot type more than 4 characters
Pattern Validation
The pattern
property specifies a regular expression that the element's value is checked against.
type 2 numbers or more
Preventing Invalid Input
Can type numbers only
Error Message
The errorMessage
property defines a message that gets shown when the input value is invalid.
NOTE: The message is not visible initially or when the field is valid
Required content
Full Form
Registration Form