Skip to content

Commit c3f62f1

Browse files
authored
set manifest on property editor uis (#19461)
1 parent 66da4a7 commit c3f62f1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/property-editor/extensions/property-editor-ui-element.interface.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type { UmbPropertyEditorConfigCollection } from '../config/index.js';
2+
import type { ManifestPropertyEditorUi } from './property-editor.extension.js';
23

34
export interface UmbPropertyEditorUiElement extends HTMLElement {
5+
manifest?: ManifestPropertyEditorUi;
46
name?: string;
57
value?: unknown;
68
config?: UmbPropertyEditorConfigCollection;

src/Umbraco.Web.UI.Client/src/packages/core/property/components/property/property.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ export class UmbPropertyElement extends UmbLitElement {
334334
this._element.addEventListener('change', this._onPropertyEditorChange as any as EventListener);
335335
this._element.addEventListener('property-value-change', this._onPropertyEditorChange as any as EventListener);
336336
// No need to observe mandatory or label, as we already do so and set it on the _element if present: [NL]
337+
this._element.manifest = manifest;
337338
this._element.mandatory = this._mandatory;
338339
this._element.name = this._label;
339340

0 commit comments

Comments
 (0)