diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/content-property/content-property.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/content-property/content-property.element.ts index 90f55497ca..2cba83ac04 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/content-property/content-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/content-property/content-property.element.ts @@ -68,8 +68,8 @@ export class UmbContentPropertyElement extends UmbLitElement { description=${ifDefined(this.property?.description)} alias="${ifDefined(this.property?.alias)}" property-editor-ui-alias="${ifDefined(this._propertyEditorUIAlias)}" - .value="${this.value}" - .config="${this._dataTypeData}">`; + .value=${this.value} + .config=${this._dataTypeData}>`; } } diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/property/property.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/property/property.element.ts index 09e27c1e6f..7176436901 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/property/property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/property/property.element.ts @@ -111,15 +111,15 @@ export class UmbPropertyElement extends UmbLitElement { /** * Property Editor UI Alias. Render the Property Editor UI registered for this alias. * @public - * @type {object | string} + * @type {unknown} * @attr * @default undefined */ - @property({ attribute: false }) + @property({attribute: false }) public get value() { - return this._propertyContext.getValue() as any; + return this._propertyContext.getValue(); } - public set value(value: object | string) { + public set value(value) { this._propertyContext.setValue(value); }