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;