supermacro / elm-antd / Ant.Form.PasswordField

This module contains a reusable TextField type.

Definition


type alias PasswordField values =
Ant.Form.Field.Field Attributes PasswordFieldValue values

Represents a password input field.

Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.


type alias PasswordFieldValue =
{ value : String
, textVisible : Basics.Bool 
}

Represents the entire state of the stateful password input field.


type alias Attributes =
{ label : String
, placeholder : String 
}

The attributes of a TextField.

You need to provide these to: