To add different dragula bag names in a group and both in different components
REQUIRED: Before filing a bug report
Change each [ ] to [x] when you have done it.
- [x] My issue title starts with
[bug report] - [x ] I have read the README, especially the 'classic blunders' section, and the dragula docs.
- [x ] I have searched through the
ng2-dragulaissues for related problems, including closed issues. - [x ] I have browsed through the issues labeled "future reference" for problems that have been solved before or have a known workaround.
- [x ] I am using the latest version of
ng2-dragula.
Describe the bug (required) In a Parent component two sub components are added Component 1 and component 2.
Two components are: Component 1 initialised first with dragula bag name and added(which containts two bags with same name) Component 2 initiliased with same dragaula bag name as Component 1 bag name. when this dragula is initilaised it destroys the existing Component 1 bags in the dragula service.
So I cant drag n drop the components from component 1 to component 2 inside parent component. As component dragula bags are deleted while initiliasing the component 2.
Now I can't use the same bag names. Any idea how can we move objects from component1 to component2. or any groups we can create with different bag names?
thanks in adavance for the solution.
If you use createGroup, please only call it once. From a parent component, for example.