validator icon indicating copy to clipboard operation
validator copied to clipboard

support custom error message

Open qm012 opened this issue 4 years ago • 5 comments

Now the default error message is displayed

  • default Key: 'User.Email' Error:Field validation for 'Email' failed on the 'email' tag
  • RegisterTranslation validator.New().RegisterTranslation()

It's too complicated and painful

relevant issues: #711 #669

@go-playground/validator-maintainers

qm012 avatar Jun 23 '21 03:06 qm012

hi @DavidLarsKetch Can you please review this? thanks

qm012 avatar Jun 23 '21 05:06 qm012

Sorry for taking so long, it'll be a while before I can review properly.

deankarn avatar Aug 08 '21 22:08 deankarn

Ok. Thank you for your review.:cow2:

qm012 avatar Aug 10 '21 00:08 qm012

This would definitely be useful!

odannyc avatar Apr 08 '22 23:04 odannyc

Hello guys. Do we have any progress on this PR?

ipfans avatar Nov 01 '22 05:11 ipfans