mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 09:21:57 +03:00
Update docs.
This commit is contained in:
parent
c853df574b
commit
e45cac69cc
@ -1,14 +1,19 @@
|
||||
module Form.Validation exposing
|
||||
( Validation, andMap, andThen, fail, fromMaybe, fromResult, map, map2, parseWithError, succeed, withError, withErrorIf, withFallback
|
||||
, value
|
||||
, fieldName
|
||||
, value, fieldName
|
||||
)
|
||||
|
||||
{-|
|
||||
|
||||
|
||||
## Validations
|
||||
|
||||
@docs Validation, andMap, andThen, fail, fromMaybe, fromResult, map, map2, parseWithError, succeed, withError, withErrorIf, withFallback
|
||||
|
||||
@docs value
|
||||
|
||||
## Field Metadata
|
||||
|
||||
@docs value, fieldName
|
||||
|
||||
-}
|
||||
|
||||
@ -21,6 +26,7 @@ type alias Validation error parsed named =
|
||||
Pages.Internal.Form.Validation error parsed named
|
||||
|
||||
|
||||
{-| -}
|
||||
fieldName : Validation error parsed kind -> String
|
||||
fieldName (Validation viewField name ( maybeParsed, errors )) =
|
||||
name
|
||||
|
Loading…
Reference in New Issue
Block a user