Commit 093f9ccf authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix(submission form): fix credit validation passing with no value

parent e9bcdccd
......@@ -28,7 +28,7 @@ const initial = {
affiliations: yup.string(),
credit: yup
.of(yup.string().required('Must choose credit to assign to the author'))
.required('Must choose credit to assign to the author'),
email: yup
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment