From b54a08c237654871d1b886a57ee47e916ed5f28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 6 Aug 2024 15:44:33 +0200 Subject: [PATCH] data-path as attribute --- .../workspace/views/edit/content-editor-properties.element.ts | 2 +- .../src/packages/core/property/property/property.element.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor-properties.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor-properties.element.ts index 18173790f5..a52eaf06d1 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor-properties.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/content/workspace/views/edit/content-editor-properties.element.ts @@ -74,7 +74,7 @@ export class UmbContentWorkspaceViewEditPropertiesElement extends UmbLitElement (property, index) => html` `, ) : ''; diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.element.ts index 2eda498629..ba189fbf2a 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property/property/property.element.ts @@ -133,7 +133,7 @@ export class UmbPropertyElement extends UmbLitElement { * @attr * @default '' */ - @property({ type: String, attribute: false }) + @property({ type: String, attribute: 'data-path' }) public set dataPath(dataPath: string | undefined) { this.#dataPath = dataPath; new UmbObserveValidationStateController(this, dataPath, (invalid) => {