1. #1
    Ext User
    Join Date
    May 2008
    Posts
    23
    Vote Rating
    0
    axeldxter is on a distinguished road

      0  

    Default [FIXED] ComboBox onSelect() bug fixed

    [FIXED] ComboBox onSelect() bug fixed


    I think I fixed a bug that happens in the onSelect() method of the ComboBox class. When something is selected when the current selection is empty, the value of focusValue = getValue() is null, so a NullPointerException is thrown in:

    Code:
    if (!focusValue.equals(getValue()))
    I fixed it by changing the code like this:

    Code:
    if (focusValue != null && !focusValue.equals(getValue()))
    I wish this is of some use.

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Thanks, the fix is in SVN.

Thread Participants: 1