primait / pyxis-components / Prima.Pyxis.Form.Validation

Configuration


type Type
    = Error
    | ErrorWithMessage String
    | Warning
    | WarningWithMessage String

Represents the available Validations.

Methods

isError : Type -> Basics.Bool

Checks that a Validation.Type is an Error.

isWarning : Type -> Basics.Bool

Checks that a Validation.Type is a Warning.

Rendering

render : Type -> Html msg

Renders a Validation message.