LP1811288 Allow Combobox to default to field id
authorBill Erickson <berickxx@gmail.com>
Mon, 25 Mar 2019 20:29:27 +0000 (20:29 +0000)
committerDan Wells <dbw2@calvin.edu>
Mon, 25 Mar 2019 21:00:53 +0000 (17:00 -0400)
commita3731c9261f3ab89503fc0e9609cbc941b235703
tree2de703e7cd3f3175358ad447a5e18a592d2aceb8
parent9e69671b29ba913ec9d1c414c06034dc8f8de9d4
LP1811288 Allow Combobox to default to field id

If a combobox field is provided without a label, use the id value as the
display value.  This helps avoid ugly JS errors while trying to format
a null string.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts