Limenius / liform-react

Generate forms from JSON Schema to use with React (& redux-form)
https://limenius.github.io/liform-react/
MIT License
174 stars 42 forks source link

"type": "number fails validation #6

Closed cjek420 closed 7 years ago

cjek420 commented 7 years ago

"type": "number" or "type": "integer" displays the correct UI only allows a number to be inputed. But, it always fails the validate with "should be number". A quick test using ajv the validation for a number works.

You can see the issue at https://limenius.github.io/liform-react/#/examples/all-widgets just goto the number field.

Thanks,

Curtis

nacmartin commented 7 years ago

Thanks for reporting this :+1:

Fixed in v0.5.14 5530c0183a33209e8870443b646fb54360805b1c