ajv-validator / ajv-validator/ajv-errors
Is it usable from browser?
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 289
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am using ajv validation from browser. By adding the following code in the HTML page.
Is there any way or possible to use ajv-errors in the HTML page. I had tried to use by the following default in the html page. But it is not working.
var ajv = new Ajv({allErrors: true}); // options can be passed, e.g. {allErrors: true}
var schemaForRegCheck ={
"type": "number",
"minimum": 10,
"additionalProperties": false,
"errorMessage": 'this is a custom error messages'
}
Thank you advance.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.