We have a custom element that contains a combo box and then I have a HashMap that stores references to these custom elements so I can poll them by key values later and grab their results. The problem I am seeing is while you can change the selection of the combobox and in debugging you can see the selectedItem is properly selected, the reference to that item does not appear to be updating with the selection. It continues to have the same properties it had upon initial formation of the HashMap. Does anyone have any pointers they can give me to track down the bug? This is not my code - I'm just attempting to fix it.
How does the reference detect changes? If the object does not dispatch change events or someone isn’t listening to those events, then it won’t know to update.