From dc5d5d48c5f6f2999e4c896eb8131eb1435374f0 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Thu, 29 Feb 2024 18:13:03 +0000 Subject: [PATCH] DataType config clean-up: RadioButtonList Moves `items` from the UI to the schema settings. --- .../property-editor/schemas/Umbraco.RadioButtonList.ts | 10 ++++++++++ .../property-editor/uis/radio-button-list/manifests.ts | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.RadioButtonList.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.RadioButtonList.ts index 0f7b7db6c9..75af2e3224 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.RadioButtonList.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.RadioButtonList.ts @@ -6,5 +6,15 @@ export const manifest: ManifestPropertyEditorSchema = { alias: 'Umbraco.RadioButtonList', meta: { defaultPropertyEditorUiAlias: 'Umb.PropertyEditorUi.RadioButtonList', + settings: { + properties: [ + { + alias: 'items', + label: 'Add option', + description: 'Add, remove or sort options for the list.', + propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString', + }, + ], + }, }, }; diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/radio-button-list/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/radio-button-list/manifests.ts index 8debec0510..794be47a3d 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/radio-button-list/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/uis/radio-button-list/manifests.ts @@ -10,15 +10,5 @@ export const manifest: ManifestPropertyEditorUi = { propertyEditorSchemaAlias: 'Umbraco.RadioButtonList', icon: 'icon-target', group: 'lists', - settings: { - properties: [ - { - alias: 'items', - label: 'Add option', - description: 'Add, remove or sort options for the list.', - propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString', - }, - ], - }, }, };