Missing values for non-required select fields is absent value, not unparseable.

This commit is contained in:
Dillon Kearns 2022-06-16 11:28:33 -07:00
parent 542a2b848e
commit 26792db293

View File

@ -155,10 +155,10 @@ select optionsMapping invalidError =
\rawValue ->
case rawValue of
Nothing ->
( Nothing, [] )
( Just Nothing, [] )
Just "" ->
( Nothing, [] )
( Just Nothing, [] )
Just justValue ->
let