[Question] How to change trait label?
Question
After searching for a while, I couldn't find how to change only the trait label without overwriting everything.
This is my attempt that didn't work out
traitManager: {
appendTo: '#traits',
defaults: [
{ name: 'title', label: 'Test' }
]
},
I saw people overwriting the entire module, is that the way it should be done?

Answers (2)
Currently, to change the trait's label you have to do it on the component level
// Component model
defaults: {
...,
traits: [...]
}
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #852
[QUESTION] How to change <a> content in traits?
I'm re-declaring a link type like this: When my button (<a>) is created, it is creating like this: <a class="btn botao-roxo">Botão</a> I wo...
Issue #1460
Hide Trait Element
How can I hide a trait element while creating a trait for the component. Is there any way like display:none or hidden:1. How can I show or...
Issue #1869
[QUESTION] how to add extra field in input traits
Hi, I want to add the new field in default input traits. for example:- i need to add {label: binding, name:binding} in already exist input...
Issue #923
[Question]: Add a select-option to toolbar
I have read the code and only I could find out that there is only a list of ToolbarButton associated with the toolbar. I have a special tra...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.