From a598f5b621729575eb2db548284f4bae4227e581 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Thu, 9 Sep 2021 14:22:06 -0300 Subject: [PATCH] release(v0.0.6): chakra ui --- package.json | 2 +- src/jsonforms/ChakraFieldTemplate.tsx | 2 +- src/jsonforms/widgets/NormalizeInput.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9ef6707..041bb30 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.0.5", + "version": "0.0.6", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/jsonforms/ChakraFieldTemplate.tsx b/src/jsonforms/ChakraFieldTemplate.tsx index 74dfbcb..9990aef 100644 --- a/src/jsonforms/ChakraFieldTemplate.tsx +++ b/src/jsonforms/ChakraFieldTemplate.tsx @@ -61,7 +61,7 @@ const ChakraFieldTemplate = ({ if (options.cols) { return ( - + {inside} ) diff --git a/src/jsonforms/widgets/NormalizeInput.tsx b/src/jsonforms/widgets/NormalizeInput.tsx index 2af2b47..6eead4e 100644 --- a/src/jsonforms/widgets/NormalizeInput.tsx +++ b/src/jsonforms/widgets/NormalizeInput.tsx @@ -15,7 +15,7 @@ const NormalizeInput: React.FC = (props) => { return ( { + onChange={(newValue: any) => { let updated = newValue; if (normalize) { updated = normalize(newValue, value);