-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
bugneeds triageInitial label given, to be assigned correct labels and assignedInitial label given, to be assigned correct labels and assigned
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
validator-ajv8
Version
5.x
Current Behavior
Error messages are not being generated correctly. Curretly the title
is not being placed on the correct position.
For instance I have a required property that is called a
, which its title is First name
.
The error message that I am getting is
current: must hFirst nameve required property 'a'
expected: must have required property 'First name'
Expected Behavior
Error messages should be consistent & property title should be placed on the correct position.
must have required property 'First name'
Steps To Reproduce
-
Open playground.
-
You will see that the schema defines properties
a
&r
, which are required. -
The error messages being displayed are not correct & not readable
-
must hFirst nameve required property 'a'
-
must have Last nameequired property 'r'
Environment
- OS:
- Node:
- npm:
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugneeds triageInitial label given, to be assigned correct labels and assignedInitial label given, to be assigned correct labels and assigned