Skip to main content
Solved

Error when setting default shape style in Smart Containers

  • November 17, 2025
  • 4 replies
  • 36 views

Forum|alt.badge.img+1

Is this a known issue and is there a work-around? I’ve used this feature of Smart Containers for many years and have never had this issue before that I can recall:

-----

When applying Set default shape style on a Smart Container (including Lucid’s out-of-the-box sample), the new style is successfully applied. However, the text inside the container tiles changes from the expected data source content to this string: 

[object Object]

Steps to Reproduce

  1. Open Lucidchart and create a blank diagram.
  2. Insert a Smart Container and use Lucid’s sample version.
  3. Make a text format edit within the container
  4. Activate "Set default shape style" via the Smart Container toolbar under Layout > Style
  5. Observe that the style applies, but the text now displays [object Object] instead of the data source content.

Expected Behavior

Default shape style should apply without altering the text content.

Actual Behavior

Style applies correctly, but text content is replaced with [object Object].

 

Reproduced error in multiple browsers (macOS Tahoe):

  • Safari Version 26.0.1 (21622.1.22.11.15)
  • Chrome Version 142.0.7444.601

Best answer by Zuzia S

Hi ​@Xinnia, thank you for posting in the Community and I am sorry that you are experiencing this issue!

Thank you ​@Humas1985 for chiming in and trying to help here!

@Xinnia I have followed the steps you described and was not able to reproduce the issue. Would you mind providing screenshots of each step leading up to the issue? This will help us confirm exactly when the text switches to [object Object].

Additionally, could you please send a screenshot of the associated Javascript Console output? You can open your Javascript Console by pressing Ctrl + Shift + J (if your computer is a Windows / Linux) OR Cmd + Opt + J (if your computer is a Mac).

Thanks so much for your help and patience!

Comments

Humas1985
Lucid Legend Level 10
Forum|alt.badge.img+24
  • Lucid Legend Level 10
  • November 19, 2025

Hi ​@Xinnia 

This behavior has been reported by some users: setting a default shape style in Smart Containers or on default shapes can cause unexpected text changes, for now, it’s best to avoid applying default shape styles until we hear from the internal team.

To learn more Default shapes now displaying unwanted properties | Community

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards


Zuzia S
Forum|alt.badge.img+8
  • Lucid community team
  • Answer
  • November 21, 2025

Hi ​@Xinnia, thank you for posting in the Community and I am sorry that you are experiencing this issue!

Thank you ​@Humas1985 for chiming in and trying to help here!

@Xinnia I have followed the steps you described and was not able to reproduce the issue. Would you mind providing screenshots of each step leading up to the issue? This will help us confirm exactly when the text switches to [object Object].

Additionally, could you please send a screenshot of the associated Javascript Console output? You can open your Javascript Console by pressing Ctrl + Shift + J (if your computer is a Windows / Linux) OR Cmd + Opt + J (if your computer is a Mac).

Thanks so much for your help and patience!


Forum|alt.badge.img+1
  • Author
  • November 25, 2025

I love it when an issue resolves itself. After having this happen for several days straight last week, when I re-tested it today the error is gone. Default formatting in Smart Containers seems to be working fine now in my test cases so I’ll go back to trying to use it in the project I was working on.

If it re-occurrs I’ll get more screenshots of it happening. Thanks.


Zuzia S
Forum|alt.badge.img+8
  • Lucid community team
  • November 26, 2025

@Xinnia thank you for providing this update! I am happy to hear you are no longer experiencing any issues. 

If anything else comes up please feel free to post in the Community, we love hearing from everyone!