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
Unfortunately, if someone fills the field with spaces it will be valid because space counts as a character.
you can use addKeyword method for check isNotEmpty
What version of Ajv are you using? Does the issue happen if you use the latest version?
Ajv options object
JSON Schema
Sample data
Your code
Validation result, data AFTER validation, error messages
What results did you expect?
how can I validate the empty string to use required keyword, or another solution
The text was updated successfully, but these errors were encountered: