Property Dataset
Looking to implement one or more Property Editors in your own scenario? The Property Dataset is necessary for a Property Editor to work, so make sure to have that integrated first.
Property dataset component
<umb-property-dataset .value=${this.data} @change=${this.#onDataChange}>
<umb-property
label="Textual input"
description="Example of text editor"
alias="textProperty"
property-editor-ui-alias="Umb.PropertyEditorUi.TextBox"></umb-property>
<umb-property
label="List of options"
description="Example of dropdown editor"
alias="listProperty"
.config=${[
{
alias: 'multiple',
value: false,
},
{
alias: 'items',
value: ['First Option', 'Second Option', 'Third Option'],
},
]}
property-editor-ui-alias="Umb.PropertyEditorUi.Dropdown"></umb-property>
</umb-property-dataset>Consume values
Last updated
Was this helpful?