Checks if the text passed is an email.
pattern {
email {
on-error ("Please enter a valid email.")
}
}
on-error optional | Error message to display if the text inputted by user does not match the expected pattern |
Copyright 2024 Samsung All rights reserved