We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac13da9 + ade9c10 commit 70c7b05Copy full SHA for 70c7b05
src/packages/core/tree/tree-picker-modal/tree-picker-modal.element.ts
@@ -53,7 +53,9 @@ export class UmbTreePickerModalElement<TreeItemType extends UmbTreeItemModelBase
53
super.updated(_changedProperties);
54
55
if (_changedProperties.has('data')) {
56
- this.#pickerContext.search.updateConfig({ ...this.data?.search });
+ if (this.data?.search) {
57
+ this.#pickerContext.search.updateConfig({ ...this.data?.search });
58
+ }
59
60
const multiple = this.data?.multiple ?? false;
61
this.#pickerContext.selection.setMultiple(multiple);
0 commit comments