jaspervdj / digestive-functors

A general way to consume input using applicative functors
149 stars 71 forks source link

Fix returned value for choice forms when no value is submitted #149

Closed cimmanon closed 6 years ago

cimmanon commented 7 years ago

It correctly falls back to default value (or the first element in the list of choices when no default is provided). Fixes regression caused by commit 594758597f6888e3828e133e17fd5f398d94d765