From 15b8c0c92962b4a86ae9123f00043c95addbd81e Mon Sep 17 00:00:00 2001 From: Mahtis Michel Date: Wed, 10 Mar 2021 19:45:54 +0100 Subject: [PATCH] fix: preserve multipart file part position in requestData (#7008) --- src/core/json-schema-components.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/json-schema-components.jsx b/src/core/json-schema-components.jsx index 8700d5c6..05499110 100644 --- a/src/core/json-schema-components.jsx +++ b/src/core/json-schema-components.jsx @@ -40,6 +40,8 @@ export class JsonSchemaForm extends Component { const { dispatchInitialValue, value, onChange } = this.props if(dispatchInitialValue) { onChange(value) + } else if(dispatchInitialValue === false) { + onChange("") } }