We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c7e98a commit 9b5aab4Copy full SHA for 9b5aab4
plugins/managePlugin/managePlugin.js
@@ -13,7 +13,7 @@ export const handleManagePlugin = (
13
14
const ctds = (contentTypes || [])
15
.filter((ctd) => !ctd.internal || ctd.name === '_media')
16
- .map(({ name }) => name);
+ .map(({ name, label }) => ({ value: name, label }));
17
18
const language = getLanguage();
19
if (language !== i18n.language) {
@@ -80,10 +80,11 @@ export const handleManagePlugin = (
80
content_types: {
81
label: i18n.t('ContentTypes'),
82
unique: false,
83
- options: ctds,
84
helpText: '',
85
inputType: 'select',
86
isMultiple: true,
+ useOptionsWithLabels: true,
87
+ optionsWithLabels: ctds,
88
},
89
link_template: {
90
label: i18n.t('LinkTemplate'),
0 commit comments