Button style select is not show when put in global partials

Hello, I have a custom module for the Button component with all the necessary settings we need so we can customize it as we need.

when I use it in DnD section in body I can easily change those values

but if I add the same button module to the header which is global_partial, I see it has all my classes from the code, but I can’t change anything custom in the CMS.

this is my meta.json of this custom button module:

{
“global” : false,
“icon” : “../../images/module-icons/cta.svg”,
“host_template_types” : [ “PAGE” ],
“module_id” : 103181854508,
“label” : “Button”,
“is_available_for_new_content” : true
}

Can someone please help what’s wrong there? Why can’t I set those custom attributes in the global content editor?

Thank you

Hi @martinjinda,
Thank you for reaching out to the Community!
Just to clarify, which template of page are you using, please?
You cannot find the button style when you are in the UI interface of the global content editor? Or when you are in the code of the global content editor?
I found this similar post from @alyssamwilieUpdate Field from Global Menu in Template - Insert parameters / attributes” that might be of interest to you.
I’d like to tag some subject matter experts: @gabriel-nextiny, @jonchim and @Indra do you have any advice to help @martinjinda, please?
If anybody else has anything to add and/or share, please feel free to join in the conversation :slightly_smiling_face:
Thanks and have a nice day!
Best,
Bérangère

I use our own template, it’s based on default-theme. I can find this module. If you look at the screenshots I add this module in the header template directly in code. It can’t edit any custom field I set for this custom module in header. I can edit all custom field when it’s outside header.