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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Jul 2019 18:56:09 +0000 (14:56 -0400)
commit2c2f0d93f0d429339b19a0a42c88b105a8e2ba55
treebcf048a51d820a6eda32f198f0820506fbcb5fc2
parentf006fe3c093b086b23fb170e7cd75799ca0990c9
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