From 389ca334e272672124974a9905a6cd7e310607dc Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 31 Jul 2024 14:57:13 +0200 Subject: [PATCH] add supportsReadOnly to supported manifests --- .../src/packages/property-editors/label/manifests.ts | 1 + .../src/packages/property-editors/number/manifests.ts | 2 ++ .../src/packages/property-editors/text-box/manifests.ts | 2 ++ .../src/packages/property-editors/textarea/manifests.ts | 1 + .../src/packages/tags/property-editors/tags/manifests.ts | 1 + 5 files changed, 7 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/label/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/label/manifests.ts index 34341e6edb..df61ba7191 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/label/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/property-editors/label/manifests.ts @@ -12,6 +12,7 @@ export const manifests: Array = [ icon: 'icon-readonly', group: 'pickers', propertyEditorSchemaAlias: 'Umbraco.Label', + supportsReadOnly: true, }, }, labelSchemaManifest, diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/number/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/number/manifests.ts index a93dbdbdc3..0f1967565c 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/number/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/property-editors/number/manifests.ts @@ -13,6 +13,7 @@ export const manifests: Array = [ propertyEditorSchemaAlias: 'Umbraco.Decimal', icon: 'icon-autofill', group: 'common', + supportsReadOnly: true, settings: { properties: [ { @@ -41,6 +42,7 @@ export const manifests: Array = [ icon: 'icon-autofill', group: 'common', propertyEditorSchemaAlias: 'Umbraco.Integer', + supportsReadOnly: true, }, }, ...decimalSchemaManifests, diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/text-box/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/text-box/manifests.ts index bcfdc4786e..5fd61d5f2a 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/text-box/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/property-editors/text-box/manifests.ts @@ -21,6 +21,7 @@ export const manifests: Array = [ propertyEditorSchemaAlias: 'Umbraco.TextBox', icon: 'icon-autofill', group: 'common', + supportsReadOnly: true, settings: { properties: [inputTypeConfig], defaultData: [ @@ -42,6 +43,7 @@ export const manifests: Array = [ propertyEditorSchemaAlias: 'Umbraco.EmailAddress', icon: 'icon-message', group: 'common', + supportsReadOnly: true, settings: { properties: [inputTypeConfig], defaultData: [ diff --git a/src/Umbraco.Web.UI.Client/src/packages/property-editors/textarea/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/property-editors/textarea/manifests.ts index ede06b7aa7..ef9f9a355f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/property-editors/textarea/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/property-editors/textarea/manifests.ts @@ -12,6 +12,7 @@ export const manifests: Array = [ propertyEditorSchemaAlias: 'Umbraco.TextArea', icon: 'icon-edit', group: 'common', + supportsReadOnly: true, settings: { properties: [ { diff --git a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts index ab2bb5c9a5..80259d8c9c 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts @@ -12,6 +12,7 @@ export const manifests: Array = [ propertyEditorSchemaAlias: 'Umbraco.Tags', icon: 'icon-tags', group: 'common', + supportsReadOnly: true, }, }, schemaManifest,