RequiredValidation

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

Validates on String.isNotBlank.

Parameters

errorMessage

Type-specific error message String.

Constructors

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