adopted-ember-addons / adopted-ember-addons/ember-changeset-validations
Skipping a validator
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 215
- Forks
- 98
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I have a validation file which holds a complete set of validators for a particular template. The template conditionally renders certain fields. Even when those fields are not rendered the validators appear to be triggering an error on the changeset (since I am using validatePresence and nothing is being entered, since it is not rendered). Is there a way to skip a validator?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.