-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
awaiting responsebugneeds reproducible exampleMissing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
antd
Version
5.19.4
Current Behavior
The "minimum" value, in absence of a "multipleOf" value, appears to be used as the "multipleOf" value as well.
Screen.Recording.2025-08-25.at.2.04.40.PM.mov
Expected Behavior
The "minimum" value should not be used as the "multipleOf" value as well.
Steps To Reproduce
- Go here: react-jsonschema-form playground
- Input this into JSONSchema:
{
"title": "A registration form",
"type": "object",
"properties": {
"age": {
"type": "number",
"title": "Age",
"minimum": 0
}
}
}
- input this into UiSchema:
{
"age": {
"ui:widget": "updown"
}
}
- Insert any integer multiple (even float versions) into the form. Examples: 1, 1.0, 1.000. No validation errors
- Insert any float value into the form. Examples: 12.01, 12.1. Validation error. Note that it appears the minimum value also by default becomes the multipleOf value. Note that there are no raw AJV errors encountered
- Remove "ui:widget": "updown" from the UiSchema section. Note that on submit, field validation passes.
Environment
- OS:
- Node:
- npm:
Anything else?
No response
Metadata
Metadata
Assignees
Labels
awaiting responsebugneeds reproducible exampleMissing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.