0 Replies Latest reply on Apr 9, 2010 1:51 PM by Jason Szeto

    [svn:fx-4.x] 15312: ComboBox bug fix

    Jason Szeto Level 3

      Revision: 15312

      Revision: 15312

      Author:   jszeto@adobe.com

      Date:     2010-04-09 13:51:32 -0700 (Fri, 09 Apr 2010)

      Log Message:

      ***********

      ComboBox bug fix

       

      http://bugs.adobe.com/jira/browse/SDK-26089 - s:ComboBox is not updated correctly when selectedItem is removed from dataProvider

       

      Handle this specific case by overriding itemRemoved and clearing the textInput. Changing updateLabelDisplay messes with the custom selected item logic, which is why I chose a more localized solution.

       

      QE notes: none

      Doc notes: none

      Bugs: SDK-26089

      Reviewer: Kevin

      Tests run: ComboBox, checkintests

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-26089

          http://bugs.adobe.com/jira/browse/SDK-26089

       

      Modified Paths:

      **************

          flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/ComboBox.as