Closed odesey closed 6 years ago
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'
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
Is there anyway to get errors as stings instead of as an array?
So instead of:
I want: