mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Include server validation errors in payload.
This commit is contained in:
parent
2456c00b3d
commit
c5b5f0caba
@ -2063,6 +2063,7 @@ toRequest2 ((Form _ decoder serverValidations modelToValue) as form) =
|
||||
{ name = fieldName
|
||||
, value = fieldValue.raw |> Maybe.withDefault ""
|
||||
}
|
||||
++ fieldValue.errors
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user