DynamicRoot: Restricted the doctype picker to non-element-types

This commit is contained in:
leekelleher
2024-02-05 11:04:39 +00:00
parent 833e573c12
commit 3293086670

View File

@@ -35,6 +35,7 @@ export class UmbDynamicRootQueryStepPickerModalModalElement extends UmbModalBase
this.#documentTypePickerContext
.openPicker({
hideTreeRoot: true,
pickableFilter: (x) => x.isElement === false,
})
.then(() => {
const selectedItems = this.#documentTypePickerContext.getSelection();