From 7acbdee522c509c04b99f1ebae401b2ea6977bbc Mon Sep 17 00:00:00 2001 From: Shaurya Sharma Date: Sat, 2 Aug 2025 00:45:33 +0530 Subject: [PATCH] Modal undefined accordion fix --- frontend/src/AppBuilder/WidgetManager/widgets/modalV2.js | 5 +++++ server/src/modules/apps/services/widget-config/modalV2.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/frontend/src/AppBuilder/WidgetManager/widgets/modalV2.js b/frontend/src/AppBuilder/WidgetManager/widgets/modalV2.js index 903056a296..cc1a8781cb 100644 --- a/frontend/src/AppBuilder/WidgetManager/widgets/modalV2.js +++ b/frontend/src/AppBuilder/WidgetManager/widgets/modalV2.js @@ -180,6 +180,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, footerBackgroundColor: { type: 'colorSwatches', @@ -188,6 +189,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, bodyBackgroundColor: { type: 'colorSwatches', @@ -196,6 +198,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, triggerButtonBackgroundColor: { type: 'colorSwatches', @@ -204,6 +207,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: false, }, + accordian: 'container', }, triggerButtonTextColor: { type: 'colorSwatches', @@ -212,6 +216,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: false, }, + accordian: 'container', }, }, exposedVariables: { diff --git a/server/src/modules/apps/services/widget-config/modalV2.js b/server/src/modules/apps/services/widget-config/modalV2.js index 903056a296..cc1a8781cb 100644 --- a/server/src/modules/apps/services/widget-config/modalV2.js +++ b/server/src/modules/apps/services/widget-config/modalV2.js @@ -180,6 +180,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, footerBackgroundColor: { type: 'colorSwatches', @@ -188,6 +189,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, bodyBackgroundColor: { type: 'colorSwatches', @@ -196,6 +198,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: 'var(--cc-surface1-surface)', }, + accordian: 'container', }, triggerButtonBackgroundColor: { type: 'colorSwatches', @@ -204,6 +207,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: false, }, + accordian: 'container', }, triggerButtonTextColor: { type: 'colorSwatches', @@ -212,6 +216,7 @@ export const modalV2Config = { schema: { type: 'string' }, defaultValue: false, }, + accordian: 'container', }, }, exposedVariables: {