mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
119799: Prevent the lookup/lookup-name fields from resetting when hitting the enter key in another input field
This commit is contained in:
@@ -94,11 +94,12 @@
|
|||||||
(scrolled)="onScroll()"
|
(scrolled)="onScroll()"
|
||||||
[scrollWindow]="false">
|
[scrollWindow]="false">
|
||||||
|
|
||||||
<button class="dropdown-item disabled"
|
<button class="dropdown-item disabled" type="button"
|
||||||
*ngIf="optionsList && optionsList.length === 0"
|
*ngIf="optionsList && optionsList.length === 0"
|
||||||
(click)="$event.stopPropagation(); clearFields(); sdRef.close();">{{'form.no-results' | translate}}
|
(click)="$event.stopPropagation(); clearFields(); sdRef.close();">
|
||||||
|
{{ 'form.no-results' | translate }}
|
||||||
</button>
|
</button>
|
||||||
<button class="dropdown-item lookup-item"
|
<button class="dropdown-item lookup-item" type="button"
|
||||||
*ngFor="let listEntry of optionsList"
|
*ngFor="let listEntry of optionsList"
|
||||||
(click)="$event.stopPropagation(); onSelect(listEntry); sdRef.close();"
|
(click)="$event.stopPropagation(); onSelect(listEntry); sdRef.close();"
|
||||||
title="{{ listEntry.display }}">
|
title="{{ listEntry.display }}">
|
||||||
|
Reference in New Issue
Block a user