LP1844812 Combobox avoids processing matching entry lists user/berick/lp1844812-ang-greedy-combobox
authorBill Erickson <berickxx@gmail.com>
Fri, 20 Sep 2019 15:31:16 +0000 (11:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 20 Sep 2019 15:31:20 +0000 (11:31 -0400)
commit7227c532e39f27e3ac796bc780602ae48a561d65
treecfbd48c899db95a05462bd7d6de261f9e8ec6dcf
parentefde2a454dc26bd9b5201aa2ab1af1f259250067
LP1844812 Combobox avoids processing matching entry lists

Teach the combobox to only process newly provided entry lists if they
are different from the list already on record for the combobox.

The combobox entry list Input() is responsive to changes in data
throughout the life of the combobox.  As a new entry list is provided,
the component will perform various actions on the list.  However, in
many cases the list provided may be identical the list the component
already has, which can lead to a lot of unnecessary processing and in
some case an infinite loop of inputs and outputs.

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