diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts index b03c43dc2d..cbef3c52b9 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/settings/data-types/workspace/workspace-data-type.element.ts @@ -53,7 +53,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement { constructor() { super(); - this.addEventListener('property-value-change', this._onPropertyValueChange); this.provideContext('umbWorkspaceContext', this._workspaceContext); this.observe(this._workspaceContext.data.pipe(distinctUntilChanged()), (dataType) => { if (dataType && dataType.name !== this._dataTypeName) { @@ -62,11 +61,6 @@ export class UmbWorkspaceDataTypeElement extends UmbLitElement { }); } - private _onPropertyValueChange = (e: Event) => { - const target = e.composedPath()[0] as any; - this._workspaceContext.setPropertyValue(target?.alias, target?.value); - }; - // TODO. find a way where we don't have to do this for all Workspaces. private _handleInput(event: UUIInputEvent) { if (event instanceof UUIInputEvent) {