In 6.5.x Modern autoSelect:true property on SelectField not working as expected.
Usually it should select the first value when store data change, but it is not selecting the first value when store was loaded dynamically.

Also apply value not returning anything, this breaks the cases when we override apply value to select the first value, when the given value is not present in the store.


Code:
applyValue: function(newValue, oldValue) {    
    var me = this,
        record = me.callParent(arguments); //this is breaking as it is not returning anything
    if (Ext.isEmpty(record)) {
        var store = me.getStore();
        if (!Ext.isEmpty(store)) {
            record = store.first();
        }
    }
    return record;
}
These cases were working previously in 6.2 version.