kjanoudi / joiful-react-forms

Automatically generate validated React forms using the Joi schema!
10 stars 1 forks source link

Change order of value assignment #36

Open jaulz opened 7 years ago

jaulz commented 7 years ago

In case the value is 0 and the default value is undefined, the result was undefined before (0 || undefined => undefined). However, the expectation would be that the result is 0.