You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is this issue currently blocking your project? (yes/no):yes
is this issue affecting a production system? (yes/no):yes
Context
node version: 14.16.1
module version: 17.4.0
environment (e.g. node, browser, native): node
used with (e.g. hapi application, another framework, standalone, ...): standalone
any other relevant information:
How can we help?
I've decided to use any.external method to implement custom async validation. Async validation works perfectly, but error message is modified with a label:
Then I've found "errors.label" parameter for a validateAsync method. Setting label to false removed the label, but not the parentheses:
As you can see on a screenshot, I've also tried to set render to false, but it doesn't work. Could you help me with it? How can I disable it? As a result I want to receive my error message without any modifications. Thanks in advance!
The text was updated successfully, but these errors were encountered:
@Marsup it's definitely a part of Joi, I've already explored source code, tests. I'll provide you with files and lines of code, where this behavior is implemented a little bit later.
Support plan
Context
How can we help?
I've decided to use any.external method to implement custom async validation. Async validation works perfectly, but error message is modified with a label:
Then I've found "errors.label" parameter for a validateAsync method. Setting label to false removed the label, but not the parentheses:
As you can see on a screenshot, I've also tried to set render to false, but it doesn't work. Could you help me with it? How can I disable it? As a result I want to receive my error message without any modifications. Thanks in advance!
The text was updated successfully, but these errors were encountered: