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

Allow number type fields to accept decimal numbers #261

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

ilamble
Copy link
Contributor

@ilamble ilamble commented Jan 28, 2020

At the moment 'number' and 'integer' types are both creating fields that only accept integers.

According to the documentation, the intention of 'number' is to accept floating numbers as well:
https://github.com/jsonform/jsonform/wiki#supported-types

This behaviour was broken in this recent commit:
b43b465

The proposed change makes 'number' type fields accept decimal numbers again.

At the moment 'number' and 'integer' types are both creating fields that only accept integers. 

According to the documentation, the intention of 'number' is to accept floating numbers as well:
https://github.com/jsonform/jsonform/wiki#supported-types

This behaviour was broken in this recent commit:
jsonform@b43b465

The proposed change makes 'number' type fields accept decimal numbers again.
@tchapi tchapi merged commit 3dc5f1f into jsonform:master Jan 30, 2020
@tchapi
Copy link
Member

tchapi commented Jan 30, 2020

Looks good ! Thanks @ilamble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants