LP1822414 Ang date select readOnly & fixes
authorBill Erickson <berickxx@gmail.com>
Sun, 26 May 2019 18:02:44 +0000 (11:02 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 14:55:02 +0000 (10:55 -0400)
commitc21dcc67d0122cb1f8a811a1962b46c57f69f67c
tree4bea7d7d9b32b20b11be2c3968009eceeb5f22dc
parentbd0fd68d7363d5ab81b0453cfbc6874b9477875f
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.

2019-07-31 rebasing note: the style added in the original patch was
moved to data-select.component.css.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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