open-forms
open-forms copied to clipboard
Hidden components with "Multiple values" trigger validation
Product versie / Product version
latest
Customer reference
no particular but it get's reported
Omschrijf het probleem / Describe the bug
Hidden component with "Multiple values" set get their defaultValue changed from:
"defaultValue": null,
to:
"defaultValue": [
null
],
This causes validation to trigger right after loading since their value is now [] instead of [ null ]
"telefoonnummer": []
This can be resolved by changing the defaultValue to via the json of the components:
"defaultValue": [],