Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Invalidate NaN in a number-typed range #107

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

frykten
Copy link
Contributor

@frykten frykten commented Oct 20, 2021

As stated in this issue, #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.

@snewcomer snewcomer merged commit 3f36c69 into adopted-ember-addons:master Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants