BodyBuilder.Elements.Form


type alias CommonParams =

{ label : String.String, placeholder : Maybe.Maybe String.String, error : Maybe.Maybe String.String }



type alias FullInputType msg =

{ value : BodyBuilder.Elements.Form.InputType msg, commonParams : BodyBuilder.Elements.Form.CommonParams }



type alias InputCheckboxContent msg =

{ label : String.String, msg : Basics.Bool -> msg, checked : Basics.Bool }



type alias InputNumberContent msg =

{ label : String.String, value : Basics.Int, msg : Basics.Int -> msg }



type alias InputTextContent msg =

{ label : String.String, placeholder : String.String, value : String.String, msg : String.String -> msg }




buildCheckbox : BodyBuilder.Elements.Form.CommonParams -> Basics.Bool -> (Basics.Bool -> msg) -> BodyBuilder.NodeWithStyle msg



buildDate : BodyBuilder.Elements.Form.CommonParams -> Maybe.Maybe DateTime.DateTime -> BodyBuilder.Elements.Form.DateBetween -> (BodyBuilder.Elements.Form.DateMsg -> msg) -> BodyBuilder.NodeWithStyle msg



buildInput : BodyBuilder.Elements.Form.FullInputType msg -> BodyBuilder.NodeWithStyle msg



buildInputFile : BodyBuilder.Elements.Form.CommonParams -> String.String -> msg -> BodyBuilder.NodeWithStyle msg



buildInputNumber : BodyBuilder.Elements.Form.CommonParams -> Basics.Int -> (Basics.Int -> msg) -> BodyBuilder.NodeWithStyle msg



buildInputPassword : BodyBuilder.Elements.Form.CommonParams -> String.String -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg



buildInputText : BodyBuilder.Elements.Form.CommonParams -> String.String -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg



buildInputEmail : BodyBuilder.Elements.Form.CommonParams -> String.String -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg



buildSelect : BodyBuilder.Elements.Form.CommonParams -> List.List { a | active : Basics.Bool, id : String.String, value : String.String } -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg



buildTextArea : BodyBuilder.Elements.Form.CommonParams -> String.String -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg



checkBoxSurround : String.String -> Basics.Bool -> (Basics.Bool -> msg) -> BodyBuilder.NodeWithStyle msg



errorMessage : String.String -> BodyBuilder.NodeWithStyle msg



generateOptions : String.String -> List.List String.String -> List.List BodyBuilder.Elements.Form.Option



inputField : BodyBuilder.Elements.Form.CommonParams -> BodyBuilder.Elements.Form.InputType msg -> BodyBuilder.Elements.Form.FullInputType msg



inputLabel : String.String -> BodyBuilder.Elements.Form.CommonParams



inputLabelPlaceholder : String.String -> String.String -> BodyBuilder.Elements.Form.CommonParams



inputLabelPlaceholderWithError : String.String -> String.String -> Maybe.Maybe String.String -> BodyBuilder.Elements.Form.CommonParams



inputLabelWithError : String.String -> Maybe.Maybe String.String -> BodyBuilder.Elements.Form.CommonParams



inputSurround : Maybe.Maybe String.String -> String.String -> BodyBuilder.NodeWithStyle msg -> BodyBuilder.NodeWithStyle msg



inputTextStyle : Modifiers.Modifier (BodyBuilder.Attributes.BoxContainer { a | block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )) })



labelizedInput : (Modifiers.Modifiers (BodyBuilder.Attributes.BoxContainer { a | block : Maybe.Maybe (List.List ( Modifiers.Modifiers Elegant.Display.BlockDetails, BodyBuilder.Attributes.StyleSelector )), fromStringInput : String.String -> String.String, onInputEvent : Maybe.Maybe (String.String -> msg), placeholder : Maybe.Maybe String.String, value : Maybe.Maybe String.String }) -> BodyBuilder.NodeWithStyle msg) -> BodyBuilder.Elements.Form.CommonParams -> String.String -> (String.String -> msg) -> BodyBuilder.NodeWithStyle msg