]> git.evergreen-ils.org Git - 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:26 +0000 (14:53 -0800)
commit41871e05c5e18e54cc74230cb7858ae8f49205a2
tree1e05e53a6f15378e210360a88436a661a832b9f1
parent46fafc28a36fd445e2aefbf39159dde81878a897
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