adopted-ember-addons / adopted-ember-addons/ember-changeset-validations
regex not working as expected with boolean fields in ValidateFormat
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 215
- Forks
- 98
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello,
I know you won't answer questions, but I tought it would be good to share this. I stumbled upon an issue with validateFormat using regex when trying to check a boolean field. I suspect this simply cannot be used for boolean fields.
More info here:
https://stackoverflow.com/questions/44246791/ember-changeset-validations-not-working-as-expected-with-a-boolean
Maybe this should be stated more clearly in the docs?
Thanks and keep up the good work!
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.