From e832bbf2c0325e83026e6c0429a0ad080f520429 Mon Sep 17 00:00:00 2001 From: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Date: Tue, 30 Jul 2024 09:37:35 +0530 Subject: [PATCH] Fixes box shadow not working for table and Hide fx for Make all columns editable field in table (#10439) * Hide fx for Make all columns editable field in table * Fix box shadow not working for table --- frontend/src/Editor/BoxUI.jsx | 1 + frontend/src/Editor/Inspector/Components/Table/Table.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/Editor/BoxUI.jsx b/frontend/src/Editor/BoxUI.jsx index 8559cc559f..61f870a9db 100644 --- a/frontend/src/Editor/BoxUI.jsx +++ b/frontend/src/Editor/BoxUI.jsx @@ -11,6 +11,7 @@ import { useAppDataStore } from '@/_stores/appDataStore'; import _ from 'lodash'; const shouldAddBoxShadowAndVisibility = [ + 'Table', 'TextInput', 'PasswordInput', 'NumberInput', diff --git a/frontend/src/Editor/Inspector/Components/Table/Table.jsx b/frontend/src/Editor/Inspector/Components/Table/Table.jsx index 3363ea4bda..c74d9df4f9 100644 --- a/frontend/src/Editor/Inspector/Components/Table/Table.jsx +++ b/frontend/src/Editor/Inspector/Components/Table/Table.jsx @@ -704,7 +704,7 @@ class TableComponent extends React.Component { property="isAllColumnsEditable" props={{ isAllColumnsEditable: `{{${this.state.isAllColumnsEditable}}}` }} component={this.props.component} - paramMeta={{ type: 'toggle', displayName: 'Make all columns editable' }} + paramMeta={{ type: 'toggle', displayName: 'Make all columns editable', isFxNotRequired: true }} paramType="properties" />