]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1822414 Ang date select readOnly & fixes user/berick/lp1822414-ang-date-select-disable
authorBill Erickson <berickxx@gmail.com>
Mon, 1 Apr 2019 16:47:02 +0000 (12:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 1 Apr 2019 16:49:30 +0000 (12:49 -0400)
commit92ae4f263ac848d99fdba70779f8003c5cd0a780
tree4a2a00744a1c1657343ca5906a0d0c5bd07ee53c
parentd8a2068a48f9e1046fc2c574d7c8c345390c5d47
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>
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