format
This commit is contained in:
@@ -58,6 +58,7 @@ export const data: Array<UserGroupResponseModel> = [
|
||||
id: 'c630d49e-4e7b-42ea-b2bc-edc0edacb6b1',
|
||||
name: 'Administrators',
|
||||
icon: 'umb:medal',
|
||||
documentStartNodeId: 'all-property-editors-document-id',
|
||||
permissions: [UMB_USER_PERMISSION_DOCUMENT_CREATE, UMB_USER_PERMISSION_DOCUMENT_DELETE],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -81,12 +81,12 @@ export class UmbInputDocumentElement extends FormControlMixin(UmbLitElement) {
|
||||
this.addValidator(
|
||||
'rangeUnderflow',
|
||||
() => this.minMessage,
|
||||
() => !!this.min && this._selectedIds.length < this.min
|
||||
() => !!this.min && this._selectedIds.length < this.min,
|
||||
);
|
||||
this.addValidator(
|
||||
'rangeOverflow',
|
||||
() => this.maxMessage,
|
||||
() => !!this.max && this._selectedIds.length > this.max
|
||||
() => !!this.max && this._selectedIds.length > this.max,
|
||||
);
|
||||
|
||||
this.consumeContext(UMB_DOCUMENT_TREE_STORE_CONTEXT_TOKEN, (instance) => {
|
||||
|
||||
Reference in New Issue
Block a user