decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

ability to edit an object widget's "name" attribute via the CMS

Open markjohnson4 opened this issue 3 years ago • 0 comments

Hi! I want the CMS to generate something like this in TOML with the option of creating many languages:

[languages]
[languages.en]
    languageName = "English"
    weight = 1
    contentDir = 'content/en'
[languages.es]
    languageName = 'Español'
    weight = 2
    contentDir = 'content/es'

on the CMS side, this as a list widget ("languages") with two object widgets (with the names "en" and "es").

Currently I have to hardcode the object widgets to have these names. Ideally, their names can be edited via the CMS. That way a CMS user can make as many objects as they want.

Is this possible?

Thanks!

markjohnson4 avatar May 24 '22 14:05 markjohnson4