add max 1 to document selector in user group workspace

This commit is contained in:
Jesper Møller Jensen
2023-09-27 21:08:57 +13:00
parent 492433ccdc
commit 19696b738e

View File

@@ -123,6 +123,7 @@ export class UmbUserGroupWorkspaceEditorElement extends UmbLitElement {
description=${this.localize.term('user_startnodehelp')}>
<umb-input-document
slot="editor"
max="1"
.selectedIds=${this._userGroup.documentStartNodeId ? [this._userGroup.documentStartNodeId] : []}
@change=${(e: any) => this.#onSectionsChange(e.target.value)}
multiple></umb-input-document>