adopted-ember-addons / ember-validators

A collection of EmberJS validators
Other
25 stars 40 forks source link

fix(presence): fix doc and add option to allow empty string #145

Open GreatWizard opened 1 year ago

GreatWizard commented 1 year ago

Problem

The current ignoreBlank option said it treats an empty string as not present. But as you can see in the test, this exact use case throw an error.

Current solution