react-form-builder icon indicating copy to clipboard operation
react-form-builder copied to clipboard

Schema Validation

Open ismaelocaramelo opened this issue 3 years ago • 1 comments

Summary To use the form builder it receives a JSON file. The issue becomes when it's not well formatted.

Intended Outcome An error output when the JSON is not correct built

How Apply schema validation with Joi or other schema validation library to make sure it's correct. That's a sanity operation.

ismaelocaramelo avatar Jun 16 '21 09:06 ismaelocaramelo

Hi @ismaelocaramelo, is this necessary? It is the responsibility of app developers to provide the form builder with valid JSON objects that are formatted to function with the forms. If this package tried to correct all the mistakes of developers then this package size would be huge.

kuhlaid avatar Nov 17 '21 17:11 kuhlaid