Skip to content

Validating floats #104

Closed
Closed
@jamesskinner

Description

@jamesskinner

Hello,

I'm experiencing problems with inputting floating point numbers. to recreate, add the following to the example page

Form:

["*",{"type":"submit","title":"save"}]

Schema:

{
  "type": "object",
  "title": "Test",
  "properties": {
    "num": {
      "title": "A Float",
      "type": "number"
    }
  },
  "required": [
    "num"
  ]
}

Then add a decimal number to the form and you get a nice green tick, but then a warning when clicking the submit button.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions