UrlValidation

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

Validates on simple URL regex android.util.Patterns.WEB_URL.

Parameters

errorMessage

Type-specific error message String.

Constructors

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