Skip to content

Commit d3d86f4

Browse files
119799: Prevent the lookup/lookup-name fields from resetting when hitting the enter key in another input field
(cherry picked from commit c8694e1)
1 parent b25294c commit d3d86f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/shared/form/builder/ds-dynamic-form-ui/models/lookup/dynamic-lookup.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@
9494
(scrolled)="onScroll()"
9595
[scrollWindow]="false">
9696

97-
<button class="dropdown-item disabled"
97+
<button class="dropdown-item disabled" type="button"
9898
*ngIf="optionsList && optionsList.length == 0"
9999
(click)="$event.stopPropagation(); clearFields(); sdRef.close();">{{'form.no-results' | translate}}
100100
</button>
101-
<button class="dropdown-item lookup-item"
101+
<button class="dropdown-item lookup-item" type="button"
102102
*ngFor="let listEntry of optionsList"
103103
(click)="$event.stopPropagation(); onSelect(listEntry); sdRef.close();"
104104
title="{{ listEntry.display }}">

0 commit comments

Comments
 (0)