From a09ee2338c7dbf4cf4881ea6c2362f03ea44fd41 Mon Sep 17 00:00:00 2001 From: Naumov Alexey Date: Mon, 17 May 2021 15:55:38 +0300 Subject: [PATCH] feat(plugin-license): CB-977 additional license info fields --- webapp/packages/core-blocks/src/FormControls/InputFieldNew.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/core-blocks/src/FormControls/InputFieldNew.tsx b/webapp/packages/core-blocks/src/FormControls/InputFieldNew.tsx index ea0207cd8a..ad78555776 100644 --- a/webapp/packages/core-blocks/src/FormControls/InputFieldNew.tsx +++ b/webapp/packages/core-blocks/src/FormControls/InputFieldNew.tsx @@ -48,7 +48,7 @@ type ControlledProps = BaseProps & { type ObjectProps = BaseProps & { name: TKey; state: TState; - mapState?: (value: TState[TKey]) => TState[TKey]; + mapState?: (value: TState[TKey]) => TState[TKey] | string | number; mapValue?: (value: TState[TKey]) => TState[TKey]; onChange?: (value: TState[TKey], name: TKey) => any; autoHide?: boolean;