Errors as string instead of Array
Closed this issue · 1 comments
odesey commented
Is there anyway to get errors as stings instead of as an array?
So instead of:
email: [
'Error one',
'Error two'
]
I want:
email: 'Error one'
ansman commented
No, you can do this yourself easily by mapping it to the first value or you can use another output format: http://validatejs.org/#validate-error-formatting