PhoneValidation

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

Validates on android.util.Patterns.PHONE.

Parameters

errorMessage

Type-specific error message String.

Constructors

PhoneValidation
Link copied to clipboard
fun PhoneValidation(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