Treepicker has a problem : When you change its value, you cannot see the changes in somewhere else.

explaining it or providing a sample is a little hard but I could find the source of problem.

You overrided the setValue function but at last line you returned me. but in main setValue implementation you returned return me.mixins.field.setValue.call(me, value);


I corrected the code and everything was ok after that. The override solution is :



Code:



Ext.define('Ext.ux.TreePicker-BUG', {
requires: ['Ext.ux.TreePicker'],
override: 'Ext.ux.TreePicker',
setValue: function (value) {
this.callParent([value]);
return this.mixins.field.setValue.call(this, value);
}
});