ember-validators icon indicating copy to clipboard operation
ember-validators copied to clipboard

The date validator has a different allowBlank validation

Open frykten opened this issue 3 years ago • 0 comments

Hi! :wave:

While working with ember-changeset-validations, which uses this addon quite extensively, I saw there was an "inconsistency" in the behaviour of the date validator's allowBlank option, which checks nullish values and empty strings instead of using Ember's util isEmpty, as per all other validators (cf.). I also saw that was introduced when removing Moment (cf. commit). Was it meant to be?

frykten avatar Oct 14 '21 13:10 frykten