Skip to content

Commit bcd850a

Browse files
Allow for the document create options to be opened on space/enter clicked (#2501)
allow for the document create options to be opened on space/enter clicked Co-authored-by: Nathaniel Nunes <[email protected]>
1 parent b257756 commit bcd850a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
176176
.alias=${this.localize.string(documentType.description ?? '')}
177177
select-only
178178
selectable
179-
@selected=${() => this.#onSelectDocumentType(documentType.unique)}>
179+
@selected=${() => this.#onSelectDocumentType(documentType.unique)}
180+
@open=${() => this.#onSelectDocumentType(documentType.unique)}>
180181
<umb-icon slot="icon" name=${documentType.icon || 'icon-circle-dotted'}></umb-icon>
181182
</uui-ref-node-document-type>
182183
`,

0 commit comments

Comments
 (0)