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
|
||||
( ErrorState, init
|
||||
( ErrorState, noError
|
||||
, setErrorIf, setErrorMessage
|
||||
, getIsInError, getErrorMessage
|
||||
)
|
||||
|
||||
{-|
|
||||
|
||||
@docs ErrorState, init
|
||||
@docs ErrorState, noError
|
||||
@docs setErrorIf, setErrorMessage
|
||||
@docs getIsInError, getErrorMessage
|
||||
|
||||
@ -20,8 +20,8 @@ type ErrorState
|
||||
|
||||
|
||||
{-| -}
|
||||
init : ErrorState
|
||||
init =
|
||||
noError : ErrorState
|
||||
noError =
|
||||
NoError
|
||||
|
||||
|
||||
|
@ -207,7 +207,7 @@ defaultConfig =
|
||||
, choices = []
|
||||
, valueToString = Nothing
|
||||
, defaultDisplayText = Nothing
|
||||
, error = InputErrorAndGuidanceInternal.init
|
||||
, error = InputErrorAndGuidanceInternal.noError
|
||||
, hideLabel = False
|
||||
, noMarginTop = False
|
||||
, containerCss = []
|
||||
|
@ -485,7 +485,7 @@ emptyConfig =
|
||||
{ inputStyle = InputStyles.Standard
|
||||
, inputCss = []
|
||||
, guidance = Nothing
|
||||
, error = InputErrorAndGuidanceInternal.init
|
||||
, error = InputErrorAndGuidanceInternal.noError
|
||||
, disabled = False
|
||||
, loading = False
|
||||
, hideLabel = False
|
||||
|
Loading…
Reference in New Issue
Block a user