How to remove the 'Options' to collapse/expand the widget?

Bird1
Mega Sage

I have cloned the 'Variable Summarizer' widget but I found that the Options to collapse/expand comes (even all the source codes are from the original one). Do anyone know how to remove it?

 

 

Bird1_1-1671607500978.png

 

Bird1_0-1671607461155.png

 

 

The original widget 'Variable Summarizer' is working fine. There's no 'Options' to collapse/expand.

 

Bird1_2-1671607599536.png

 

1 ACCEPTED SOLUTION

Try

c.toggle = true;
c.hide_control = true;

View solution in original post

6 REPLIES 6

Try

c.toggle = true;
c.hide_control = true;

Really appreciate for your help. Help me a learn a lot.