LP1831390: combobox and date-select implement ControlValueAccessor
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 25 Jun 2019 18:17:07 +0000 (11:17 -0700)
committerBill Erickson <berickxx@gmail.com>
Fri, 28 Jun 2019 18:04:49 +0000 (14:04 -0400)
commitac5bacab3f1e65f9a1205af91c8220138da82e70
treede9b7ed351a41fdb101240c9aa819052f0219644
parenta1a03fa71d95bed03a5498d12c3be8c5f0ec10cf
LP1831390: combobox and date-select implement ControlValueAccessor

This makes both components compatible with [(ngModel)] and
reactive forms.

Also adds sandbox examples.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/share/date-select/date-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
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.module.ts