diff --git a/packages/ketcher-react/src/script/ui/component/form/input.tsx b/packages/ketcher-react/src/script/ui/component/form/input.tsx
index 8630c11e06..0a2e65ec87 100644
--- a/packages/ketcher-react/src/script/ui/component/form/input.tsx
+++ b/packages/ketcher-react/src/script/ui/component/form/input.tsx
@@ -331,6 +331,10 @@ function componentMap(props: Props) {
return type === 'radio' ? FieldSet : Select
}
+const AnyComponentWithRef = React.forwardRef(
+ ({ Component, ...props }: any, ref) =>
+)
+
class Input extends PureComponent<
Props & { innerRef: React.Ref }
> {
@@ -351,14 +355,10 @@ class Input extends PureComponent<
render() {
const { children, onChange, ...restProps } = this.props
- const Component = this.component
-
- const ComponentWithRef = React.forwardRef((props, ref) => (
-
- ))
return (
-