LP#1850547: eg-date-select: let blur trigger emitting changes
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Jul 2020 20:25:47 +0000 (16:25 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 3 Sep 2020 15:52:00 +0000 (11:52 -0400)
(Otherwise, you have to select the calendar button or hit
 return inisde the input)

Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/date-select/date-select.component.html

index f137beb..0f5777e 100644 (file)
@@ -15,7 +15,7 @@
       name="{{fieldName}}"
       [disabled]="disabled"
       [required]="required"
-      (blur)="propagateTouch()"
+      (blur)="propagateTouch(); onDateEnter()"
       [(ngModel)]="current"
       (keyup.enter)="onDateEnter()"
       (dateSelect)="onDateSelect($event)"/>