primait/pyxis-components/7.3.0

NOTE: the latest version is 9.0.3

Prima.Pyxis.Form.Validation

Configuration

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

Represents the available Validations.

Methods

isError : Type -> Bool

Checks that a Validation.Type is an Error.

isWarning : Type -> Bool

Checks that a Validation.Type is a Warning.

Rendering

render : Type -> Html msg

Renders a Validation message.