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

View File

@ -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 = []

View File

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