Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-855 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    May 2008
    Location
    Pasadena, California
    Posts
    172
    Vote Rating
    2
    NickT is on a distinguished road

      0  

    Default Ext.field.Select change listener

    Ext.field.Select change listener


    Hello,

    I am noticing that the value provided in the change listener for a select field is the display field value instead of the value field. Tracing this back to onListSelect setValue sets the display field value. same for the onPickerChange. It seems this should (and was in 1.1) the value field.

    perhaps the fireEvent between onListSelect and the change event should be calling getValue()?

    Code:
    onListSelect: function(item, record) {        if (record) {
                this.record = record;
                this.setValue(record.get(this.getDisplayField()));
            }
    },

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    8
    TommyMaintz will become famous soon enough

      0  

    Default


    Thanks for the report. This definitely seems wrong.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    3
    Vote Rating
    0
    adny is on a distinguished road

      0  

    Default


    Is there a work around for this? i have the same issue. I see it was fixed, but the fix isn't released?

    Edit: nether mind i when i am just calling the .getValue() of the Ext.field.Select instead of trusting what the value the change event returns

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar