Issue #918Opened March 1, 2018by lorrandavid0 reactions

[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? trait

Answers (2)

artfMarch 4, 20180 reactions

Currently, to change the trait's label you have to do it on the component level

// Component model
defaults: {
	...,
	traits: [...]
}
lock[bot]September 18, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.