Validation Type
sealed class ValidationType
Content copied to clipboard
Sealed class defining all supported types of error validation. For use with setValidation.
Types
DateValidation
Link copied to clipboard
data class DateValidation(errorMessage: String, dateFormatString: String, dateFormat: DateFormat, constraints: CalendarConstraints) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
EmailValidation
Link copied to clipboard
data class EmailValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
Validates on simple email regex android.util.Patterns.EMAIL_ADDRESS.
GenericValidation
Link copied to clipboard
data class GenericValidation(errorMessage: String, regex: Regex) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
Validates on provided regex parameter.
LengthValidation
Link copied to clipboard
data class LengthValidation(errorMessage: String, minLength: Int?, maxLength: Int?) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
PhoneValidation
Link copied to clipboard
data class PhoneValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
Validates on android.util.Patterns.PHONE.
RequiredValidation
Link copied to clipboard
data class RequiredValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
Validates on String.isNotBlank.
SocialSecurityValidation
Link copied to clipboard
data class SocialSecurityValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
UrlValidation
Link copied to clipboard
data class UrlValidation(errorMessage: String) : EnterpriseTextInputField.ValidationType
Content copied to clipboard
Validates on simple URL regex android.util.Patterns.WEB_URL.
Properties
errorMessage
Link copied to clipboard
Functions
Inheritors
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard
EnterpriseTextInputField.ValidationType
Link copied to clipboard