EmailValidation

data class EmailValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType

Validates on simple email regex android.util.Patterns.EMAIL_ADDRESS.

Parameters

errorMessage

Type-specific error message String.

Constructors

EmailValidation
Link copied to clipboard
fun EmailValidation(errorMessage: String)
Type-specific error message String.

Properties

errorMessage
Link copied to clipboard
open override val errorMessage: String
Type-specific error message String.

Functions

isValid
Link copied to clipboard
open override fun isValid(text: String): Boolean