]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1739277 Angular org selector style callback
authorBill Erickson <berickxx@gmail.com>
Tue, 30 Jul 2019 16:12:12 +0000 (12:12 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 17 Nov 2021 22:53:36 +0000 (14:53 -0800)
commit1b97e2f633d912d3c3eec29e86d309b960d3ad47
tree89cae616521e5a4405455d98d8c6e8794bfa4b4e
parent72a75c6e6a1560732a817cef6052646e542f3756
LP1739277 Angular org selector style callback

Allow the caller of an <eg-org-select> to pass a function which is
called against each org unit in the list to determine what CSS class(es)
should be applied to the org unit label in the list.

Includes sandbox example.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Bruch <jbruch@sparkpa.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts