Skip to content

Commit

Permalink
Allow for the document create options to be opened on space/enter cli…
Browse files Browse the repository at this point in the history
…cked (#2501)

allow for the document create options to be opened on space/enter clicked

Co-authored-by: Nathaniel Nunes <n.nunes@clerkswell.com>
(cherry picked from commit bcd850a)
  • Loading branch information
manutdkid77 authored and leekelleher committed Nov 4, 2024
1 parent 1ad5b99 commit 0065fc1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
.alias=${this.localize.string(documentType.description ?? '')}
select-only
selectable
@selected=${() => this.#onSelectDocumentType(documentType.unique)}>
@selected=${() => this.#onSelectDocumentType(documentType.unique)}
@open=${() => this.#onSelectDocumentType(documentType.unique)}>
<umb-icon slot="icon" name=${documentType.icon || 'icon-circle-dotted'}></umb-icon>
</uui-ref-node-document-type>
`,
Expand Down

0 comments on commit 0065fc1

Please sign in to comment.