[
https://issues.apache.org/jira/browse/FLEX-34289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050747#comment-14050747
]
Chris Martin commented on FLEX-34289:
-------------------------------------
I am able to reproduce in 4.12.1. You will have to initially select samurai
from the list first. Then start at step 2. This is happening because
technically we are not "changing" from one value to a different one. Basically
as far as the component is concerned, "Samurai" is still the selected item
despite the textbox is empty. So when the user chooses "Samurai" from the
dropdownlist, the new selected value is not different from the previously
selected one; thus, the component is not "re-rendered" so show the selection.
As a note of interest, I am also able to reproduce with Flex 4.6 as well.
Considering not only checking if the new selectedItem is different from the
previous selectedItem, but also check if the textinput text is also different
from what we'd expect for the current selected value. This would then cause
the "change" to be done.
> Combobox doesn't show the selected item after deleting text
> -----------------------------------------------------------
>
> Key: FLEX-34289
> URL: https://issues.apache.org/jira/browse/FLEX-34289
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: ComboBox
> Affects Versions: Apache Flex 4.11.0
> Environment: Affected OS(s): Windows
> Affected OS(s):
> Browser: Internet Explorer 8
> Reporter: Raja Jaganathan
> Priority: Minor
> Labels: easytest
> Attachments: ComboBoxTest.mxml
>
>
> Steps to reproduce:
> Scenario:
> 1.Compile and run attached MXML file.
> 2.Combobox shows the first item "Samurai"
> 3.Delete text by pressing the Backspace key.
> 4.Press Ctl + down key to show the dropdown list.
> 5.Select item "Samurai" from the dropdownlist by mouse.
> Actual Results:
> Combobox doesn't show the selected item "Samurai".
> Expected Results:
> Combobox should show the selected item "Samurai"
> Workaround (if any):
> Note : Seem to be same issue :
> https://issues.apache.org/jira/browse/FLEX-27607. This fix working fine in
> Flex 4.6 not working in Apache Flex 4.11.0.
--
This message was sent by Atlassian JIRA
(v6.2#6252)