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

A number field does not seem to let me enter "0" as the number. #101

Closed
arrygoo opened this issue Sep 12, 2016 · 3 comments
Closed

A number field does not seem to let me enter "0" as the number. #101

arrygoo opened this issue Sep 12, 2016 · 3 comments
Assignees
Labels
Type: Bug Bug reports and their fixes

Comments

@arrygoo
Copy link

arrygoo commented Sep 12, 2016

I have a SimpleSchema field like so:

  'hoursMin': {
    type: Number,
    min: 0,

I've tried with and without the min, but in both cases the form does not allow me to enter "0" as the number. It lets me put "-1" or "0.1", but I can't find any way to input "0". It seems like a bug to me unless it was done by design?

@radekmie
Copy link
Contributor

I'll investigate it.

@radekmie radekmie self-assigned this Sep 12, 2016
@radekmie radekmie added the Type: Bug Bug reports and their fixes label Sep 12, 2016
@radekmie
Copy link
Contributor

Yes, that's a bug. I'm already working on it.

@radekmie
Copy link
Contributor

Will be included in 1.0.0-rc.33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug reports and their fixes
Projects
Archived in project
Development

No branches or pull requests

2 participants