init -> noError

This commit is contained in:
Tessa Kelly 2021-11-11 13:42:10 -08:00
parent cc9aabd99a
commit 98c0612668
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -207,7 +207,7 @@ defaultConfig =
, choices = []
, valueToString = Nothing
, defaultDisplayText = Nothing
, error = InputErrorAndGuidanceInternal.init
, error = InputErrorAndGuidanceInternal.noError
, hideLabel = False
, noMarginTop = False
, containerCss = []

View File

@ -485,7 +485,7 @@ emptyConfig =
{ inputStyle = InputStyles.Standard
, inputCss = []
, guidance = Nothing
, error = InputErrorAndGuidanceInternal.init
, error = InputErrorAndGuidanceInternal.noError
, disabled = False
, loading = False
, hideLabel = False