I have a Panel B which has its viewmodel and binding. Also I have layout handler component which tries to show the "B" panel inside Window A. Meanwhile I move some compoents of B to A. This causes the binding of that components break.
Previously (In ExtJs 5.1) I did it by the following code:


Code:
            Ext.each(me.movedComponents function (cmp) {
                var vm = widget.getViewModel();
                cmp.setViewModel(vm);              
            });
But now (In ExtJs 6.2.1) It doesn't work anymore. What should I do?