Merge pull request #1362 from atmire/issue-1294-fix-required-dropdown-initial-click-not-working

#1294 [Submission] - Fix for required dropdown initial select click not working
This commit is contained in:
Tim Donohue
2021-10-19 16:37:33 -05:00
committed by GitHub

View File

@@ -40,7 +40,7 @@
<button class="dropdown-item disabled" *ngIf="optionsList && optionsList.length == 0">{{'form.no-results' | translate}}</button>
<button class="dropdown-item collection-item text-truncate" *ngFor="let listEntry of optionsList"
(click)="onSelect(listEntry); sdRef.close()"
(click)="onSelect(listEntry); sdRef.close()" (mousedown)="onSelect(listEntry); sdRef.close()"
title="{{ listEntry.display }}" role="option"
[attr.id]="listEntry.display == (currentValue|async) ? ('combobox_' + id + '_selected') : null">
{{inputFormatter(listEntry)}}