warlockxins / goPocJsonSchemaForm

1 stars 1 forks source link

number not validating #3

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

Saw this on a few of the demo forms.

You put in a number like "22" but it still complains that its a string with

"type should be number, got string"

gedw99 commented 1 month ago

there is another strange one that is a kind of race condition. related to Integers again..

http://localhost:3000/layout/basic

Leave Age and Height empty.

If you only enter an Age, Height is ignored in the validation loop.

Screenshot 2024-09-14 at 18 58 15
gedw99 commented 1 month ago

This is if you hit submit without entered anything.

Age does not fire for validation.

Screenshot 2024-09-14 at 19 25 57