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>
Fri, 14 Jun 2019 15:53:05 +0000 (11:53 -0400)
commit76fe0c10d9c006c0fa22c42c0ee0db3ecb31633c
treefffb13c5cd1a3a9e1f0582b2370ecc0e04c023bd
parentb6a3169ccc043590c35006d0072635e022ca61a4
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