Include server validation errors in payload.

This commit is contained in:
Dillon Kearns 2022-04-28 10:47:31 -07:00
parent 2456c00b3d
commit c5b5f0caba

View File

@ -2063,6 +2063,7 @@ toRequest2 ((Form _ decoder serverValidations modelToValue) as form) =
{ name = fieldName
, value = fieldValue.raw |> Maybe.withDefault ""
}
++ fieldValue.errors
}
)