mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Missing values for non-required select fields is absent value, not unparseable.
This commit is contained in:
parent
542a2b848e
commit
26792db293
@ -155,10 +155,10 @@ select optionsMapping invalidError =
|
||||
\rawValue ->
|
||||
case rawValue of
|
||||
Nothing ->
|
||||
( Nothing, [] )
|
||||
( Just Nothing, [] )
|
||||
|
||||
Just "" ->
|
||||
( Nothing, [] )
|
||||
( Just Nothing, [] )
|
||||
|
||||
Just justValue ->
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user