bcgov / medis-form-service

Create, edit and publish forms
Apache License 2.0
0 stars 0 forks source link

Medis imp export api fe valid #23

Closed evgeny-pluzhnikov closed 1 year ago

evgeny-pluzhnikov commented 1 year ago

Description

Convert empty arrays to null when doing multi upload

There is a bug in form.io framework to do with arrays when calling validation defined for the form. The bug exposes itself when you call validation routine more than once (our case in multi upload). The work around for this bug is to replace empty arrays in json payload will null.

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

Further comments