-
13 Apr 2012 12:17 AM #1
RC2: ComboBox LabelProvider not used consequently
RC2: ComboBox LabelProvider not used consequently
Reproduction:
1. Create a ComboBox for a custom object and provide a LabelProvider for a certain field of the custom object.
2. Fill the ListStore of the ComboBox with a number of custom objects.
3. Open the ComboBox.
4. Select one of the values.
5. Leave the ComboBox and focus any other component.
Expected:
1. The ComboBox dropdown list is rendered using the LabelProvider. -> ok
2. After selection, the collapsed ComboBox content is rendered using the LabelProvider. -> ok
3. After leaving the ComboBox, the collapsed ComboBox content is rendered using the LabelProvider. -> nok, the custom object is rendered using the toString()-method.
-
13 Apr 2012 3:54 AM #2
@Sencha:
This bug can be seen @ http://staging.sencha.com:8080/examp...Place:combobox
Select a state in the first combo box and then navigate away by pressing TAB or clicking on the 2nd combo box.
The selected state in the 1st combo box is displayed as something like com.sencha.gxt.examples.resources.client.model.State@1d4
Meanwhile another person also logged this issue: see this one
-
13 Apr 2012 8:53 AM #3
Thanks for the report. I've just filed this as a bug in this thread: http://www.sencha.com/forum/showthre...orer-demo-too). Please continue any discussion there and consider subscribing to that thread to receive any updates we post while fixing the issue.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote