Uniforms: A number field does not seem to let me enter "0" as the number.

Created on 12 Sep 2016  路  3Comments  路  Source: vazco/uniforms

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?

bug

Most helpful comment

Will be included in 1.0.0-rc.33.

All 3 comments

I'll investigate it.

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

Will be included in 1.0.0-rc.33.

Was this page helpful?
0 / 5 - 0 ratings