ember-changeset-validations icon indicating copy to clipboard operation
ember-changeset-validations copied to clipboard

regex not working as expected with boolean fields in ValidateFormat

Open internetmosquito opened this issue 8 years ago • 0 comments

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!

internetmosquito avatar May 30 '17 08:05 internetmosquito