ajv-validator / ajv-validator/ajv-errors

Is it usable from browser?

Abierto
#61 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
289
Forks
21
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.