mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 08:53:33 +03:00
init -> noError
This commit is contained in:
parent
cc9aabd99a
commit
98c0612668
@ -1,12 +1,12 @@
|
|||||||
module InputErrorAndGuidanceInternal exposing
|
module InputErrorAndGuidanceInternal exposing
|
||||||
( ErrorState, init
|
( ErrorState, noError
|
||||||
, setErrorIf, setErrorMessage
|
, setErrorIf, setErrorMessage
|
||||||
, getIsInError, getErrorMessage
|
, getIsInError, getErrorMessage
|
||||||
)
|
)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
|
|
||||||
@docs ErrorState, init
|
@docs ErrorState, noError
|
||||||
@docs setErrorIf, setErrorMessage
|
@docs setErrorIf, setErrorMessage
|
||||||
@docs getIsInError, getErrorMessage
|
@docs getIsInError, getErrorMessage
|
||||||
|
|
||||||
@ -20,8 +20,8 @@ type ErrorState
|
|||||||
|
|
||||||
|
|
||||||
{-| -}
|
{-| -}
|
||||||
init : ErrorState
|
noError : ErrorState
|
||||||
init =
|
noError =
|
||||||
NoError
|
NoError
|
||||||
|
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ defaultConfig =
|
|||||||
, choices = []
|
, choices = []
|
||||||
, valueToString = Nothing
|
, valueToString = Nothing
|
||||||
, defaultDisplayText = Nothing
|
, defaultDisplayText = Nothing
|
||||||
, error = InputErrorAndGuidanceInternal.init
|
, error = InputErrorAndGuidanceInternal.noError
|
||||||
, hideLabel = False
|
, hideLabel = False
|
||||||
, noMarginTop = False
|
, noMarginTop = False
|
||||||
, containerCss = []
|
, containerCss = []
|
||||||
|
@ -485,7 +485,7 @@ emptyConfig =
|
|||||||
{ inputStyle = InputStyles.Standard
|
{ inputStyle = InputStyles.Standard
|
||||||
, inputCss = []
|
, inputCss = []
|
||||||
, guidance = Nothing
|
, guidance = Nothing
|
||||||
, error = InputErrorAndGuidanceInternal.init
|
, error = InputErrorAndGuidanceInternal.noError
|
||||||
, disabled = False
|
, disabled = False
|
||||||
, loading = False
|
, loading = False
|
||||||
, hideLabel = False
|
, hideLabel = False
|
||||||
|
Loading…
Reference in New Issue
Block a user