Closed frykten closed 2 years ago
As stated in this issue, https://github.com/offirgolan/ember-validators/issues/106, I was bringing up the fact NaN is a valid number in a range for the inclusion validator, which I don't think is supposed to happen.
NaN
Here's my take on it. It still works in the option "in", instead of the option "range" and doesn't break a range of strings either.
As stated in this issue, https://github.com/offirgolan/ember-validators/issues/106, I was bringing up the fact
NaN
is a valid number in a range for the inclusion validator, which I don't think is supposed to happen.Here's my take on it. It still works in the option "in", instead of the option "range" and doesn't break a range of strings either.