diff --git a/frontend/src/AppBuilder/AppCanvas/RenderWidget.jsx b/frontend/src/AppBuilder/AppCanvas/RenderWidget.jsx index 427cced97b..181888ab5f 100644 --- a/frontend/src/AppBuilder/AppCanvas/RenderWidget.jsx +++ b/frontend/src/AppBuilder/AppCanvas/RenderWidget.jsx @@ -10,6 +10,7 @@ import ErrorBoundary from '@/_ui/ErrorBoundary'; const shouldAddBoxShadowAndVisibility = [ 'Table', 'TextInput', + 'TextareaV2', 'PasswordInput', 'NumberInput', 'Text', diff --git a/frontend/src/AppBuilder/RightSideBar/ComponentsManagerTab/constants.js b/frontend/src/AppBuilder/RightSideBar/ComponentsManagerTab/constants.js index 2f25d9e7b7..19cfdb7032 100644 --- a/frontend/src/AppBuilder/RightSideBar/ComponentsManagerTab/constants.js +++ b/frontend/src/AppBuilder/RightSideBar/ComponentsManagerTab/constants.js @@ -5,5 +5,5 @@ export const LEGACY_ITEMS = [ 'RadioButton', 'Datepicker', 'Modal', - 'Textarea', + 'TextArea', ]; diff --git a/frontend/src/AppBuilder/Widgets/BaseComponents/BaseInput.jsx b/frontend/src/AppBuilder/Widgets/BaseComponents/BaseInput.jsx index f0a7d50cc6..74ce215737 100644 --- a/frontend/src/AppBuilder/Widgets/BaseComponents/BaseInput.jsx +++ b/frontend/src/AppBuilder/Widgets/BaseComponents/BaseInput.jsx @@ -1,12 +1,12 @@ -import React from 'react'; +import React, { forwardRef } from 'react'; import Label from '@/_ui/Label'; import Loader from '@/ToolJetUI/Loader/Loader'; import * as Icons from '@tabler/icons-react'; const tinycolor = require('tinycolor2'); -const RenderInput = (props) => { - return props.inputType !== 'textarea' ? :