easyforms
/
com.github.k0shk0sh.compose.easyforms
/
UrlValidationType
Url
Validation
Type
object
UrlValidationType
:
EasyFormsValidationType
Content copied to clipboard
Url validation using @see
androidx.core.util.PatternsCompat.WEB_URL
Functions
Properties
Sources
Functions
isValid
Link copied to clipboard
open fun
isValid
(value:
String
):
Boolean
Content copied to clipboard
Opened so it can be overridden to suits your validation needs.
Properties
maxLength
Link copied to clipboard
open val
maxLength
:
Int
Content copied to clipboard
defines a text should have a maximum set of chars.
minLength
Link copied to clipboard
open val
minLength
:
Int
Content copied to clipboard
defines a text should have a minimum set of chars.
regex
Link copied to clipboard
open val
regex
:
String
? = null
Content copied to clipboard
the regex to be used to validate the text if any.
Sources
androidJvm source
Link copied to clipboard