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
which support plan is this issue covered by? (e.g. Community, Core, Plus, or Enterprise): Community
is this issue currently blocking your project? (yes/no): no
is this issue affecting a production system? (yes/no): no
Context
node version: 12.4.0
module version: 16.1.7
environment (e.g. node, browser, native): browser
used with (e.g. hapi application, another framework, standalone, ...): standalone
any other relevant information:
How can we help?
Is there a way to remove the quotes for the label?, I've already read the docs, did some tests with errors.label but no luck, I still want the label but not the quotes, with v15 joi I was able to do it by redefining the base key, but it seems that concept disappeared in this version
The text was updated successfully, but these errors were encountered:
There is no way to remove the quotes. It might be added as a new option in the future but for now, your only two options are to override error messages or modify the error message after validation fails by changing the strings.
Support plan
Context
How can we help?
Is there a way to remove the quotes for the label?, I've already read the docs, did some tests with errors.label but no luck, I still want the label but not the quotes, with v15 joi I was able to do it by redefining the base key, but it seems that concept disappeared in this version
The text was updated successfully, but these errors were encountered: