openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Can't save JSONSchemaForm with an empty field

Open decentropy opened this issue 2 years ago • 0 comments

The issue is... JSONSchemaForm will not let me save data, if a field is empty.

I'm using setIn from the form back to data collection. Clearing out a field, causes error: TypeError: Type "JSON" is required, but find "desc" type with value: undefined

I've tried setting schema to optional, default ""... but gives error and erases the data.

Not sure where to find my openblocks version, but it's new container off docker.io Attaching app to replicate issue.

test.json

decentropy avatar Oct 10 '23 17:10 decentropy