EngageSoftware / elm-engage-common / Engage.Form.HideOrShow

HideOrShow


type alias HideOrShow =
{ birthDate : String
, birthDateYears : List Basics.Int
, birthDateMonths : List String
, birthDateRequired : Basics.Bool
, gender : Visibility
, account : Visibility
, fax : Visibility
, website : Visibility
, headshot : Visibility
, addressTypeId : Maybe Basics.Int
, addressPhone : Visibility
, addressName : Visibility
, username : Visibility
, password : Visibility 
}

The HideOrShow type


type Visibility
    = Hide
    | Show
    | ReadOnly

The Visibility type

fromHideBool : Basics.Bool -> Visibility

Convert a hide bool into a Visibility

fromShowBool : Basics.Bool -> Visibility

Convert a show bool into a Visibility

showAll : HideOrShow

Show all