]> git.evergreen-ils.org Git - working/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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 5 Jun 2019 17:44:13 +0000 (13:44 -0400)
commit4c7c53b85b37e22a280cede66ec6f3903bda1fca
tree960a7450fdc13c62e60a341e702c47323f032a49
parent166552a479b49b0d41d86788575cdcedc024bfca
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>
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts