comment
This commit is contained in:
@@ -33,12 +33,17 @@ export class UmbPropertyEditorUIContentPickerElement extends UmbLitElement {
|
||||
@property({ type: Array, attribute: false })
|
||||
public config = [];
|
||||
|
||||
|
||||
private _onChange(event: ChangeEvent) {
|
||||
this.value = (event.target as UmbInputDocumentPickerElement).selectedKeys;
|
||||
this.dispatchEvent(new CustomEvent('property-value-change'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TODO: Implement mandatory?
|
||||
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<umb-input-document-picker @change=${this._onChange} .selectedKeys=${this._value}>Add</umb-input-document-picker>
|
||||
|
||||
Reference in New Issue
Block a user