LP1822414 Ang date select readOnly & fixes user/sandbergja/lp1822414-ang-date-select-disable
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 26 May 2019 18:02:44 +0000 (11:02 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 26 May 2019 18:08:45 +0000 (11:08 -0700)
commit6c32c679f06237a569c4be96537d8561f91ba54d
treec3dedcd0c0149599284205b3f27fc44adfcdc314
parentc6b87b0af773f580faae69e4e34ba28de49aaa0d
LP1822414 Ang date select readOnly & fixes

Adds an @Input() readOnly field to eg-date-select.  When set, the date
value will be displayed as plain text - no widget.

Teach the eg-fm-editor to pass the readOnly flag to the eg-date-select.

Includes sandbox example.

Fixes a display issue where the date select calendar button was bigger
than the paired input group adding text input, because the material
icon was too big.

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