EngageSoftware/elm-engage-common/8.2.5

NOTE: the latest version is 8.2.10

Engage.Form.Password

Form.Password

type alias PasswordSettings =
{ minLength : Int
, minNonAlphaNumCharacters : Int
, validationRegex : String
, showStrengthBar : Bool
}

The password settings type

passwordSettingsDecoder : Decoder PasswordSettings

The password settings decoder

PasswordSettings
-> String
-> field
-> (model -> String)
-> Validator ( field, ValidationStatus ) model

Validate a password field