]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1831783: improvements to the Angular org-select widget
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 4 Jun 2019 14:01:27 +0000 (10:01 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 30 Jul 2019 19:59:08 +0000 (15:59 -0400)
commite85fb2909381632ab114f0d923aeda5089e37467
treeca5322f7645ce94a183a75f6438d1850856fd209
parentd731bb1a84a0b578da1600f594616edd0a504f99
LP#1831783: improvements to the Angular org-select widget

- add reset() method
- add method for retrieve current selected OU. This can be invoked
  from local template references in parent templates like this:

    <button ... (click)="doAction(ousel.selectedOrg())" ...
    ...
    <eg-org-select (onChange)="doAction($event)" #ousel></eg-org-select>

Sponsored-by: MassLNC
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: CW MARS
Sponsored-by: King County Library System
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts