From ba32f60decbfb3bde56d177c8e8629c3d141c02e Mon Sep 17 00:00:00 2001 From: HelderSepu Date: Wed, 25 Oct 2017 21:02:14 -0400 Subject: [PATCH] Add validation error tooltips If there is an error put it on the tooltip --- src/core/json-schema-components.js | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/core/json-schema-components.js b/src/core/json-schema-components.js index a8d92023..e8bf1e44 100644 --- a/src/core/json-schema-components.js +++ b/src/core/json-schema-components.js @@ -58,6 +58,7 @@ export class JsonSchema_string extends Component { if ( enumValue ) { const Select = getComponent("Select") return () } else { - return + return () } } } @@ -134,11 +145,12 @@ export class JsonSchema_array extends PureComponent { if ( enumValue ) { const Select = getComponent("Select") return (