We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var array = ["google.com", "wrong", "youtube.com"]
There is a way to validate specific fields of an array:
var descriptor = { roles: { type: "array", required: true, fields: { 0: {type: "url"}, 1: {type: "url"}, 2: {type: "url"} } } }
Is there a way to validate all fields of an array?
var descriptor = { roles: { type: "array", required: true, allFields: {type: "url"} } }
The text was updated successfully, but these errors were encountered:
welcome pr.
Sorry, something went wrong.
1.6.0
var descriptor = { roles: { type: "array", required: true, defaultField: {type: "url"} } }
No branches or pull requests
var array = ["google.com", "wrong", "youtube.com"]
There is a way to validate specific fields of an array:
Is there a way to validate all fields of an array?
The text was updated successfully, but these errors were encountered: