From 07fbfecc87231fd5ff71a2d640497e3d20a957c2 Mon Sep 17 00:00:00 2001 From: soupette Date: Wed, 31 Jul 2019 15:01:23 +0200 Subject: [PATCH] Fixes #2882 --- .../admin/src/components/InputJSONWithErrors/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/strapi-plugin-content-manager/admin/src/components/InputJSONWithErrors/index.js b/packages/strapi-plugin-content-manager/admin/src/components/InputJSONWithErrors/index.js index 26dc65d483..77cd04281c 100644 --- a/packages/strapi-plugin-content-manager/admin/src/components/InputJSONWithErrors/index.js +++ b/packages/strapi-plugin-content-manager/admin/src/components/InputJSONWithErrors/index.js @@ -222,7 +222,11 @@ InputJSONWithErrors.propTypes = { style: PropTypes.object, tabIndex: PropTypes.string, validations: PropTypes.object, - value: PropTypes.object, + value: PropTypes.oneOfType([ + PropTypes.array, + PropTypes.object, + PropTypes.bool, + ]), }; export default InputJSONWithErrors;