I've having a problem with a combobox and am thinking this might be a bug. This combobox contains a list of databound items. When an item is selected, two of the attributes of the selected item are assigned to the current form using comboBox.getSelectedItem.
When I load the form the first time, this works perfectly. However if I choose another item in the list, the assigned values in the form do not change even though the selected item in the combobox changes.
If I change the combobox to a selectItem, the behavior is as expected and the values in the form change to reflect the item selected in the selectItem.
Should I expect combobox to behave differently than a selectitem for assigning values using .getSelectedItem.
When I load the form the first time, this works perfectly. However if I choose another item in the list, the assigned values in the form do not change even though the selected item in the combobox changes.
If I change the combobox to a selectItem, the behavior is as expected and the values in the form change to reflect the item selected in the selectItem.
Should I expect combobox to behave differently than a selectitem for assigning values using .getSelectedItem.
Comment