Package ru.surf.core.forms.validate

Types

PasswordStateValidateRequired
Link copied to clipboard
class PasswordStateValidateRequired : FormFieldState

Validator for password

StateValidateRequired
Link copied to clipboard
class StateValidateRequired : FormFieldState

Validator if required

Functions

getErrorIsLong
Link copied to clipboard
private fun getErrorIsLong(target: String): (Context) -> String?

Validate length password for PasswordStateValidateRequired

getErrorIsNotMatches
Link copied to clipboard
private fun getErrorIsNotMatches(target: String): (Context) -> String?

Check password by regex PasswordStateValidateRequired

getErrorIsSmall
Link copied to clipboard
private fun getErrorIsSmall(target: String): (Context) -> String?

Validate length password for PasswordStateValidateRequired

Properties

PASSWORD_VALIDATION_REGEX
Link copied to clipboard
private const val PASSWORD_VALIDATION_REGEX: String

Regex check password