View Full Version : [FIXED] Ext.field.Select change listener

12 Oct 2011, 1:24 PM

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()?

onListSelect: function(item, record) { if (record) {
this.record = record;

12 Oct 2011, 1:25 PM
Thanks for the report. This definitely seems wrong.

3 Nov 2011, 2:45 AM
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